toJson method
Implementation
Map<String, dynamic> toJson() => {
"isAudioRecorded": isAudioRecorded,
"mediaCaptionText": mediaCaptionText,
"mediaDownloadStatus": mediaDownloadStatus,
"mediaDuration": mediaDuration,
"mediaFileHeight": mediaFileHeight,
"mediaFileName": mediaFileName,
"mediaFileSize": mediaFileSize,
"mediaFileType": mediaFileType,
"mediaFileWidth": mediaFileWidth,
"mediaLocalStoragePath": mediaLocalStoragePath,
"mediaProgressStatus": mediaProgressStatus,
"mediaThumbImage": mediaThumbImage,
"mediaUploadStatus": mediaUploadStatus,
"messageId": messageId,
"messageType": messageType,
"isPlaying": isPlaying,
};