IntentSummary class
Provides information about the state of an intent. You can use this information to get the current state of an intent so that you can process the intent, or so that you can return the intent to its previous state.
Constructors
-
IntentSummary({required DialogActionType dialogActionType, String? checkpointLabel, ConfirmationStatus? confirmationStatus, FulfillmentState? fulfillmentState, String? intentName, String? slotToElicit, Map<
String, String> ? slots}) -
IntentSummary.fromJson(Map<
String, dynamic> json) -
factory
Properties
- checkpointLabel → String?
-
A user-defined label that identifies a particular intent. You can use this
label to return to a previous intent.
final
- confirmationStatus → ConfirmationStatus?
-
The status of the intent after the user responds to the confirmation prompt.
If the user confirms the intent, Amazon Lex sets this field to
Confirmed
. If the user denies the intent, Amazon Lex sets this value toDenied
. The possible values are:final - dialogActionType → DialogActionType
-
The next action that the bot should take in its interaction with the user.
The possible values are:
final
- fulfillmentState → FulfillmentState?
-
The fulfillment state of the intent. The possible values are:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- intentName → String?
-
The name of the intent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slots
→ Map<
String, String> ? -
Map of the slots that have been gathered and their values.
final
- slotToElicit → String?
-
The next slot to elicit from the user. If there is not slot to elicit, the
field is blank.
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