Parameter class
A parameter definition for skill inputs.
Constructors
Properties
-
constraints
→ Map<
String, dynamic> -
Validation constraints.
final
- defaultValue → dynamic
-
Default value.
final
- description → String?
-
Parameter description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
Additional metadata.
final
- name → String
-
Parameter name.
final
- required → bool
-
Whether the parameter is required.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ParameterType
-
Parameter type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON.
-
toString(
) → String -
A string representation of this object.
override
-
validateConstraints(
dynamic value) → List< String> - Validate constraints.
-
validateType(
dynamic value) → String? - Validate value type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited