AssetReader class abstract

The "read" part of the BuildStep API.

See BuildStep for details.

Implementers

Constructors

AssetReader.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canRead(AssetId id) Future<bool>
digest(AssetId id) Future<Digest>
Returns a Digest representing a hash of the contents of id.
findAssets(Glob glob) Stream<AssetId>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAsBytes(AssetId id) Future<List<int>>
readAsString(AssetId id, {Encoding encoding = utf8}) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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