ResponseMessage class

Constructors

ResponseMessage(MessageType type, DateTime timestamp, {String? responseType, List? payload, String? text, Map<String, dynamic>? haivaMessage, Map<String, dynamic>? wholeResponsePayload, String? sessionId, Widget? customWidget, String? threadId, List<String>? responseTypesAgent, Map<String, dynamic>? customComponent, int? statusCode})
ResponseMessage.fromJson(Map<String, dynamic> json, {bool isMarkdown = false})
factory

Properties

customWidget → Widget?
final
haivaMessage → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
payload → List?
final
responseType → String?
final
responseTypesAgent → List<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String?
final
statusCode → int?
final
text → String?
final
threadId → String?
final
timestamp → DateTime
final
type → MessageType
final
wholeResponsePayload → Map<String, dynamic>?
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