LibraryMirror class

A LibraryMirror reflects a Dart language library, providing access to the variables, functions, and classes of the library.

A LibraryMirror reflects a Dart language library, providing access to the variables, functions, and classes of the library.

Implements:

Constructors

LibraryMirror ( )

Instance Properties

uri Uri
read-only
declarations Map<Symbol,DeclarationMirror>
read-only
libraryDependencies List<LibraryDependencyMirror>
read-only
simpleName Symbol Inherited
read-only
metadata List<InstanceMirror> Inherited
read-only
isTopLevel bool Inherited
read-only
owner DeclarationMirror Inherited
read-only
location SourceLocation Inherited
read-only
isPrivate bool Inherited
read-only
qualifiedName Symbol Inherited
read-only

Instance Methods

getField Inherited ( Symbol fieldName ) → InstanceMirror
Invokes a getter and returns a mirror on the result. The getter can be the implicit getter for a field or a user-defined getter method.
setField Inherited ( Symbol fieldName, Object value ) → InstanceMirror
Invokes a setter and returns a mirror on the result. The setter may be either the implicit setter for a non-final field or a user-defined setter method.
invoke Inherited ( Symbol memberName, List positionalArguments, [Map<Symbol> namedArguments] ) → InstanceMirror
Invokes the named function and returns a mirror on the result.

Operators

operator == ( other ) → bool
Returns true if this mirror is equal to other. Otherwise returns false.