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

A VariableMirror reflects a Dart language variable declaration.

Implemented types

Implementers

Constructors

VariableMirror()

Properties

hashCodeint

The hash code for this object.

no setterinherited

isConstbool

Returns true if the reflectee is declared const. Otherwise returns false.

no setter

isExtensionMemberbool

Is the reflectee an extension member?

no setter

isExtensionTypeMemberbool

Is the reflectee an extension type member?

no setter

isFinalbool

Returns true if the reflectee is a final variable. Otherwise returns false.

no setter

isPrivatebool

Whether this declaration is library private.

no setterinherited

isStaticbool

Returns true if the reflectee is a static variable. Otherwise returns false.

no setter

isTopLevelbool

Whether this declaration is top-level.

no setterinherited

locationSourceLocation?

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

no setterinherited

metadataList<InstanceMirror>

A list of the metadata associated with this declaration.

no setterinherited

ownerDeclarationMirror?

A mirror on the owner of this Dart language entity.

no setterinherited

qualifiedNameSymbol

The fully-qualified name for this Dart language entity.

no setterinherited

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

simpleNameSymbol

The simple name for this Dart language entity.

no setterinherited

typeTypeMirror

Returns a mirror on the type of the reflectee.

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

Whether this mirror is equal to other.

override