MediaChatMessage.fromJson constructor
Converts a JSON object into a MediaChatMessage instance.
Implementation
factory MediaChatMessage.fromJson(Map<String, dynamic> json) =>
MediaChatMessage(
isAudioRecorded: json["isAudioRecorded"],
mediaCaptionText: json["mediaCaptionText"],
mediaDownloadStatus: json["mediaDownloadStatus"],
mediaDuration: json["mediaDuration"],
mediaFileName: json["mediaFileName"],
mediaFileSize: json["mediaFileSize"],
mediaLocalStoragePath: json["mediaLocalStoragePath"],
mediaProgressStatus: json["mediaProgressStatus"],
mediaThumbImage: json["mediaThumbImage"],
mediaUploadStatus: json["mediaUploadStatus"],
messageId: json["messageId"],
messageType: json["messageType"],
);