LibraryDependencyMirror class abstract

A mirror on an import or export declaration.

Implemented types

Constructors

LibraryDependencyMirror()

Properties

combinators List<CombinatorMirror>
Returns the list of show/hide combinators on the import/export declaration.
no setter
hashCode int
The hash code for this object.
no setterinherited
isDeferred bool
Returns true iff this dependency is a deferred import. Otherwise returns false.
no setter
isExport bool
Is true if this dependency is an export.
no setter
isImport bool
Is true if this dependency is an import.
no setter
location SourceLocation?
Returns the source location for this import/export declaration.
no setter
metadata List<InstanceMirror>
no setter
prefix Symbol?
Returns the prefix if this is a prefixed import and null otherwise.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceLibrary LibraryMirror
Returns the library mirror of the library that imports or exports the targetLibrary.
no setter
targetLibrary LibraryMirror?
Returns the library mirror of the library that is imported or exported, or null if the library is not loaded.
no setter

Methods

loadLibrary() Future<LibraryMirror>
Returns a future that completes with a library mirror on the library being imported or exported when it is loaded, and initiates a load of that library if it is not loaded.
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