Builder class abstract
The basic builder class, used to build new files from existing ones.
Builders are responsible for generating output files from input files. They declare which file extensions they can handle and produce, and implement logic to transform inputs into outputs.
Subclasses must implement build to perform the actual code generation and shouldBuildFor to determine if a file should be processed.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
outputExtensions
→ Set<
String> -
The allowed output extensions for this builder.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildStep buildStep) → FutureOr< void> - Generates the outputs for a given BuildStep.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldBuildFor(
BuildCandidate candidate) → bool - This is used to determine if the builder should be run for a given BuildCandidate.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited