toJson method
Implementation
Map<String, dynamic> toJson() => {
"timeMilliSeconds": timeMilliSeconds!.toJson(),
"replyMsgId": replyMsgId,
"type": type,
"time": time,
"replyUser": replyUser,
"replyUserId": replyUserId,
"sentAt": sentAt!.toJson(),
"viewBy": List<dynamic>.from(viewBy!.map((x) => x)),
"senderName": senderName,
"replyMsg": replyMsg,
"msgId": msgId,
"message": message,
"sentBy": sentBy,
"replyMsgType": replyMsgType,
};