ResponseCard class

If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook and fulfillmentActivity on an intent).

Constructors

ResponseCard({ContentType? contentType, List<GenericAttachment>? genericAttachments, String? version})
ResponseCard.fromJson(Map<String, dynamic> json)
factory

Properties

contentType ContentType?
The content type of the response.
final
genericAttachments List<GenericAttachment>?
An array of attachment objects representing options.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
The version of the response card format.
final

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