A DeclarationMirror reflects some entity declared in a Dart program.

Implements
Implemented by

Properties

bool isPrivate
read-only
Returns true if this declaration is considered private according to the Dart language specification. Always returns false if this declaration is a library. Otherwise return false.
bool isTopLevel
read-only
Is this declaration top-level?
SourceLocation location
read-only
The source location of this Dart language entity, or null if the entity is synthetic.
List<InstanceMirror> metadata
read-only
A list of the metadata associated with this declaration.
DeclarationMirror owner
read-only
A mirror on the owner of this Dart language entity. This is the declaration immediately surrounding the reflectee.
Symbol qualifiedName
read-only
The fully-qualified name for this Dart language entity.
Symbol simpleName
read-only
The simple name for this Dart language entity.

Constructors

DeclarationMirror()