OverrideableEnvironment class

A BuildEnvironment which can have individual features overridden.

Implemented types

Constructors

OverrideableEnvironment(BuildEnvironment _default, {RunnerAssetReader? reader, RunnerAssetWriter? writer, void onLog(LogRecord)?, Future<BuildResult> finalizeBuild(BuildResult, FinalizedAssetsView, AssetReader, Set<BuildDirectory>)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
reader RunnerAssetReader
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writer RunnerAssetWriter
no setteroverride

Methods

finalizeBuild(BuildResult buildResult, FinalizedAssetsView finalizedAssetsView, AssetReader reader, Set<BuildDirectory> buildDirs) Future<BuildResult>
Invoked after each build, can modify the BuildResult in any way, even converting it to a failure.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLog(LogRecord record) → void
override
prompt(String message, List<String> choices) Future<int>
Prompt the user for input.
override
toString() String
A string representation of this object.
inherited

Operators

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