FileUploadProgress constructor

const FileUploadProgress({
  1. required String fileId,
  2. required double progress,
  3. required FileUploadStatus status,
  4. String? error,
  5. FileAttachment? attachment,
})

Creates file upload progress.

Implementation

const FileUploadProgress({
  required this.fileId,
  required this.progress,
  required this.status,
  this.error,
  this.attachment,
});