MediaChatMessage constructor

MediaChatMessage({
  1. required bool isAudioRecorded,
  2. required String mediaCaptionText,
  3. required int mediaDownloadStatus,
  4. required int mediaDuration,
  5. required String mediaFileName,
  6. required int mediaFileSize,
  7. required String mediaLocalStoragePath,
  8. required int mediaProgressStatus,
  9. required String mediaThumbImage,
  10. required int mediaUploadStatus,
  11. required String messageId,
  12. required String messageType,
})

Constructs a MediaChatMessage instance.

Implementation

MediaChatMessage({
  required this.isAudioRecorded,
  required this.mediaCaptionText,
  required this.mediaDownloadStatus,
  required this.mediaDuration,
  required this.mediaFileName,
  required this.mediaFileSize,
  required this.mediaLocalStoragePath,
  required this.mediaProgressStatus,
  required this.mediaThumbImage,
  required this.mediaUploadStatus,
  required this.messageId,
  required this.messageType,
});