We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f1c058 commit e3c5e85Copy full SHA for e3c5e85
1 file changed
lib/src/chatbox.dart
@@ -55,18 +55,22 @@ enum LoadingState { loading, loaded }
55
class MessageActionEvent {
56
final String action;
57
final Message message;
58
+ final Map<String, String> params;
59
60
MessageActionEvent.fromJson(Map<String, dynamic> json)
61
: action = json['action'],
62
+ params = Map.from(json['params']),
63
message = Message.fromJson(json['message']);
64
}
65
66
class ConversationActionEvent {
67
68
69
final ConversationData conversationData;
70
71
ConversationActionEvent.fromJson(Map<String, dynamic> json)
72
73
74
conversationData = ConversationData.fromJson(json['conversation']);
75
76
0 commit comments