A DeclarationMirror reflects some entity declared in a Dart program.

Implements
Implemented by

Properties

isPrivate bool
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.

isTopLevel bool
read-only

Is this declaration top-level?

location SourceLocation
read-only

The source location of this Dart language entity, or null if the entity is synthetic.

metadata List<InstanceMirror>
read-only

A list of the metadata associated with this declaration.

owner DeclarationMirror
read-only

A mirror on the owner of this Dart language entity. This is the declaration immediately surrounding the reflectee.

qualifiedName Symbol
read-only

The fully-qualified name for this Dart language entity.

simpleName Symbol
read-only

The simple name for this Dart language entity.

Constructors

DeclarationMirror()