Dart SDK
dart:mirrors
DeclarationMirror
class
DeclarationMirror
Properties
Constructors
Properties
simpleName
qualifiedName
owner
isPrivate
isTopLevel
location
metadata
Constructors
DeclarationMirror
A
DeclarationMirror
reflects some entity declared in a Dart program.
Implements
Mirror
Implemented by
LibraryMirror
MethodMirror
TypeMirror
VariableMirror
Properties
Symbol
simpleName
read-only
The simple name for this Dart language entity.
Symbol
qualifiedName
read-only
The fully-qualified name for this Dart language entity.
DeclarationMirror
owner
read-only
A mirror on the owner of this Dart language entity. This is the declaration immediately surrounding the reflectee.
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.
Constructors
DeclarationMirror
()