BuilderOptions class

Configuration options for a Builder.

Provides a way to pass configuration to builders from the build script or from builder overrides defined in build.yaml files.

Constructors

BuilderOptions.new(Map<String, dynamic> config)
Creates a new BuilderOptions with the given configuration.
const

Properties

config Map<String, dynamic>
The configuration to apply to a given usage of a Builder.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWith(BuilderOptions? other) BuilderOptions
Returns a new set of options with keys from other overriding options in this instance.
toString() String
A string representation of this object.
override

Operators

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

Constants

empty → const BuilderOptions
A configuration with no options set.