toJson method
Converts a ReplyParentChatMessage instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"chatUserJid": chatUserJid,
"isMessageDeleted": isMessageDeleted,
"isMessageRecalled": isMessageRecalled,
"isMessageSentByMe": isMessageSentByMe,
"isMessageStarred": isMessageStarred,
"messageId": messageId,
"messageSentTime": messageSentTime,
"messageTextContent": messageTextContent,
"messageType": messageType,
"senderNickName": senderNickName,
"senderUserName": senderUserName,
"locationChatMessage": locationChatMessage?.toJson(),
"contactChatMessage": contactChatMessage?.toJson(),
"mediaChatMessage": mediaChatMessage?.toJson(),
};