DeclarationMirror class Null safety
A DeclarationMirror reflects some entity declared in a Dart program.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isPrivate → bool
-
Whether this declaration is library private.
read-only
- isTopLevel → bool
-
Whether this declaration is top-level.
read-only
- location → SourceLocation?
-
The source location of this Dart language entity, or
null
if the entity is synthetic.read-only -
metadata
→ List<
InstanceMirror> -
A list of the metadata associated with this declaration.
read-only
- owner → DeclarationMirror?
-
A mirror on the owner of this Dart language entity.
read-only
- qualifiedName → Symbol
-
The fully-qualified name for this Dart language entity.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- simpleName → Symbol
-
The simple name for this Dart language entity.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited