BuilderDefinition class
Definition of a builder parsed from the builders
section of build.yaml
.
- Annotations
-
- @JsonSerializable()
Constructors
-
BuilderDefinition({required List<
String> builderFactories, required Map<String, List< buildExtensions, required String import, String? target, AutoApply? autoApply, Iterable<String> >String> ? requiredInputs, Iterable<String> ? runsBefore, Iterable<String> ? appliesBuilders, bool? isOptional, BuildTo? buildTo, TargetBuilderConfigDefaults? defaults}) - BuilderDefinition.fromJson(Map json)
-
factory
Properties
-
appliesBuilders
→ List<
String> -
Builder keys in
$package:$builder
format which should be run on any target which also runs this Builder.final - autoApply → AutoApply
-
Which packages should have this builder applied automatically.
final
-
builderFactories
→ List<
String> -
The names of the top-level methods in import from args -> Builder.
final
-
buildExtensions
→ Map<
String, List< String> > -
A map from input extension to the output extensions created for matching
inputs.
final
- buildTo → BuildTo
-
Where the outputs of this builder should be written.
final
- defaults → TargetBuilderConfigDefaults
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- import → String
-
The import to be used to load
clazz
.final - isOptional → bool
-
Whether this Builder should be deferred until it's output is requested.
final
- key → String
-
A unique key for this Builder in
'$package:$builder'
format.no setter - package → String
-
The package which provides this Builder.
no setter
-
requiredInputs
→ List<
String> -
A list of file extensions which are required to run this builder.
final
-
runsBefore
→ List<
String> -
Builder keys in
$package:$builder
format which should only be run after this Builder.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → String?
-
The name of the dart_library target that contains
import
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited