WhatsappFlowResponse class
What one person submitted through a flow.
Constructors
-
WhatsappFlowResponse({required String messageId, String? waId, String? flowToken, Map<
String, dynamic> answers = const {}, DateTime? respondedAt}) -
Creates a flow answer.
const
-
WhatsappFlowResponse.fromJson(Map<
String, dynamic> json) -
Reads a flow answer.
factory
Properties
-
answers
→ Map<
String, dynamic> -
Whatever the flow's screens collected.
final
- flowToken → String?
-
The token the flow carried, where it had one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → String
-
The message the answer arrived on.
final
- respondedAt → DateTime?
-
When they submitted it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- waId → String?
-
The person's WhatsApp id.
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