LibraryDependencyMirror class abstract
A mirror on an import or export declaration.
- Implemented types
Constructors
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<
Object?> -
Note that the return type of the corresponding method in
dart:mirrors is
List<InstanceMirror>
.no setter - prefix → String
-
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
-
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