SendMessageEvent.fromJson constructor

SendMessageEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

SendMessageEvent.fromJson(Map<String, dynamic> json)
    : conversation = ConversationData.fromJson(json['conversation']),
      me = UserData.fromJson(json['me']),
      message = SentMessage.fromJson(json['message']);