toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "timeMilliSeconds": timeMilliSeconds?.toJson(),
      "sentBy": sentBy,
      "type": type,
      "msgId": msgId,
      "message": message,
      "name": name,
      "fileName": fileName,
      "contentType": contentType,
      "senderName": senderName,
      "filePath": filePath,
      "replyUser": replyUser,
      "replyMsg": replyMsg,
      "replyMsgId": replyMsgId,
      "replyUserId": replyUserId,
      "replyMsgType": replyMsgType,
      "time": time,
      "thumbnailPath": thumbnailPath,
    };