IntentParameter class
{@template intent_parameter_template} Represents intent parameters.
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- defaultValue → String?
-
The default value to use when the value yields an empty result.
final
- displayName → String?
-
The name of the parameter.
final
- entityTypeDisplayName → String?
-
The name of the entity type, prefixed with @, that describes values of
the parameter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isList → bool?
-
Indicates whether the parameter represents a list of values.
final
- mandatory → bool?
-
Indicates whether the parameter is required.
final
- name → String?
-
The unique identifier of this parameter.
final
-
prompts
→ List<
String> ? -
The collection of prompts that the agent can present to the user in
order to collect a value for the parameter.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - value → String?
-
The definition of the parameter value. It can be:
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited