BuildInput class final
The input for hook/build.dart
.
Constructors
-
BuildInput.new(Map<
String, Object?> json) -
// Creates a BuildInput from the given
json
.
Properties
- assets → BuildInputAssets
-
The assets emitted by
hook/build.dart
of direct dependencies with ToBuildHooks.no setter - config → BuildConfig
-
The configuration for this hook input.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
json
→ Map<
String, Object?> -
The underlying json configuration of this HookInput.
no setterinherited
- metadata → BuildInputMetadata
-
The metadata emitted by dependent build hooks.
no setter
- outputDirectory → Uri
-
The directory in which output and intermediate artifacts that are unique
to the config can be placed.
no setterinherited
-
The directory in which shared output and intermediate artifacts can be
placed.
no setterinherited
- outputFile → Uri
-
The file to write the HookOutput to at the end of a hook invocation.
no setteroverride
- packageName → String
-
The name of the package the assets are built for.
no setterinherited
- packageRoot → Uri
-
The root of the package the assets are built for.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userDefines → HookInputUserDefines
-
The user-defines for this hook input.
no setterinherited
Methods
-
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