ResourceManager class

Manages fetching and disposing of a group of Resources.

This is an internal only API which should only be used by build system implementations and not general end users. Instead end users should use the buildStep#fetchResource method to get Resources.

Constructors

ResourceManager()

Properties

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

beforeExit() Future<Null>
Invokes the beforeExit callbacks of all Resources that had one.
disposeAll() Future<Null>
Disposes of all Resources fetched since the last call to disposeAll.
fetch<T>(Resource<T> resource) Future<T>
Fetches an instance of resource.
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