LinkInput class final
The input for a hook/link.dart
.
Constructors
-
LinkInput.new(Map<
String, Object?> json) -
Creates a LinkInput from the given
json
.
Properties
- assets → LinkInputAssets
-
The assets passed to
hook/link.dart
.no setter - config → LinkConfig
-
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
→ Map<
String, Object?> -
The metadata sent to this link hook by dependent link 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
- recordedUsagesFile → Uri?
-
The file containing recorded usages, if any.
no setter
- 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