LibraryDependencyMirror class Null safety

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.
read-only
hashCode int
The hash code for this object.
read-only, inherited
isDeferred bool
Returns true iff this dependency is a deferred import. Otherwise returns false.
read-only
isExport bool
Is true if this dependency is an export.
read-only
isImport bool
Is true if this dependency is an import.
read-only
location SourceLocation
Returns the source location for this import/export declaration.
read-only
metadata List<Object?>
Note that the return type of the corresponding method in dart:mirrors is List
read-only
prefix String
Returns the prefix if this is a prefixed import and null otherwise.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceLibrary LibraryMirror
Returns the library mirror of the library that imports or exports the targetLibrary.
read-only
targetLibrary LibraryMirror
Returns the library mirror of the library that is imported or exported, or null if the library is not loaded.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited