FollowUpPrompt class
A prompt for additional activity after an intent is fulfilled. For example,
after the OrderPizza
intent is fulfilled, you might prompt the
user to find out whether the user wants to order drinks.
Constructors
- FollowUpPrompt({required Prompt prompt, required Statement rejectionStatement})
-
FollowUpPrompt.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- prompt → Prompt
-
Prompts for information from the user.
final
- rejectionStatement → Statement
-
If the user answers "no" to the question defined in the
prompt
field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited