PubspecBuilder class
Builder generating a lib/pubspec.g.dart
file containing the package's
name and version.
- Implemented types
- Available extensions
Constructors
- PubspecBuilder(BuilderOptions builderOptions)
-
const
Properties
- builderOptions → BuilderOptions
-
Configuration of this PubspecBuilder.
final
-
buildExtensions
→ Map<
String, List< String> > -
Mapping from input file extension to output file extensions.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
override
-
hasOutputFor(
AssetId input) → bool -
Available on Builder, provided by the BuildOutputExtensions extension
Whether this builder is expected to output assets when running oninput
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited