Resolver class

Standard interface for resolving Dart source code as part of a build.

Implementers

Constructors

Resolver()

Properties

libraries Stream<LibraryElement>
All libraries accessible from the entry point, recursively. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

assetIdForElement(Element element) Future<AssetId>
Returns the AssetId of the Dart library or part declaring element. [...]
findLibraryByName(String libraryName) Future<LibraryElement>
Returns the first library identified by libraryName. [...]
isLibrary(AssetId assetId) Future<bool>
Returns whether assetId represents an Dart library file. [...]
libraryFor(AssetId assetId) Future<LibraryElement>
Returns a resolved library representing the file defined in assetId. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited