A DeclarationMirror reflects some entity declared in a Dart program.
- Implements
- Implemented by
Properties
- bool isPrivate
-
read-onlyReturns
true
if this declaration is considered private according to the Dart language specification. Always returnsfalse
if this declaration is a library. Otherwise returnfalse
. - bool isTopLevel
-
read-onlyIs this declaration top-level?
- SourceLocation location
-
read-onlyThe source location of this Dart language entity, or
null
if the entity is synthetic. - List<InstanceMirror> metadata
-
read-onlyA list of the metadata associated with this declaration.
- DeclarationMirror owner
-
read-onlyA mirror on the owner of this Dart language entity. This is the declaration immediately surrounding the reflectee.
- Symbol qualifiedName
-
read-onlyThe fully-qualified name for this Dart language entity.
- Symbol simpleName
-
read-onlyThe simple name for this Dart language entity.