DeclarationMirror class - dart:mirrors library (original) (raw)

A DeclarationMirror reflects some entity declared in a Dart program.

Implemented types

Implementers

Constructors

DeclarationMirror()

Properties

hashCodeint

The hash code for this object.

no setterinherited

isPrivatebool

Whether this declaration is library private.

no setter

isTopLevelbool

Whether this declaration is top-level.

no setter

locationSourceLocation?

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

no setter

metadataList<InstanceMirror>

A list of the metadata associated with this declaration.

no setter

ownerDeclarationMirror?

A mirror on the owner of this Dart language entity.

no setter

qualifiedNameSymbol

The fully-qualified name for this Dart language entity.

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

simpleNameSymbol

The simple name for this Dart language entity.

no setter

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited