AssetArgument class final
One declared argument of an AssetArtifact — the mustache-templated prompt argument of the Packaged AI Assets format (ADR-0008 Decision 2).
- Annotations
-
- @immutable
Constructors
- AssetArgument({required String name, required String description, bool isRequired = false})
-
Declares
name, documented bydescription;isRequiredmarks it mandatory.const
Properties
- description → String
-
What the argument means, for the reader that fills it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequired → bool
-
Whether a consumer must supply it.
final
- name → String
-
The argument's template name.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited