MediaChatMessage constructor

MediaChatMessage({
  1. required bool isAudioRecorded,
  2. required String mediaCaptionText,
  3. required int mediaDownloadStatus,
  4. required int mediaDuration,
  5. required int mediaFileHeight,
  6. required String mediaFileName,
  7. required int mediaFileSize,
  8. required String mediaFileType,
  9. required int mediaFileWidth,
  10. required String mediaLocalStoragePath,
  11. required int mediaProgressStatus,
  12. required String mediaThumbImage,
  13. required int mediaUploadStatus,
  14. required String messageId,
  15. required String messageType,
  16. required bool isPlaying,
  17. required int currentPos,
})

Implementation

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