BuildAggregateStep extension type

on
Implemented types
Implementers

Constructors

BuildAggregateStep.new(BuildModuleStep buildStep)

Properties

aggregateDescriptor Future<ModuleDescriptorProto>
no setter
allowedOutputs Iterable<AssetId>
Returns assets that may be written in this build step.
no setterinherited
buildStep BuildModuleStep
final
hashCode int
The hash code for this object.
no setterinherited
inputId → AssetId
The primary for this build step.
no setterinherited
inputLibrary Future<LibraryElement>
Resolved library defined by inputId.
no setterinherited
moduleDescriptor Future<ModuleDescriptorProto>
no setterinherited
packageConfig Future<PackageConfig>
Returns a PackageConfig resolvable from this build step.
no setterinherited
resolver → Resolver
A Resolver for inputId.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canRead(AssetId id) Future<bool>
Indicates whether asset at id is readable.
inherited
digest(AssetId id) Future<Digest>
Returns a Digest representing a hash of the contents of id.
inherited
fetchResource<T>(Resource<T> resource) Future<T>
Gets an instance provided by resource which is guaranteed to be unique within a single build, and may be reused across build steps within a build if the implementation allows.
inherited
findAssets(Glob glob) Stream<AssetId>
Returns all readable assets matching glob under the current package.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAsBytes(AssetId id) Future<List<int>>
Returns a Future that completes with the bytes of a binary asset.
inherited
readAsString(AssetId id, {Encoding encoding = utf8}) Future<String>
Returns a Future that completes with the contents of a text asset.
inherited
reportUnusedAssets(Iterable<AssetId> ids) → void
Indicates that ids were read but their content has no impact on the outputs of this step.
inherited
toString() String
A string representation of this object.
inherited
trackStage<T>(String label, T action(), {bool isExternal = false}) → T
Tracks performance of action separately.
inherited
writeAsBytes(AssetId id, FutureOr<List<int>> bytes) Future<void>
Writes bytes to a binary file located at id.
inherited
writeAsString(AssetId id, FutureOr<String> contents, {Encoding encoding = utf8}) Future<void>
Writes contents to a text file located at id with encoding.
inherited

Operators

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