UploadStreamProgress constructor

UploadStreamProgress({
  1. required StreamProgressStatus progressStatus,
  2. int loaded = 0,
  3. int total = 0,
  4. double progress = 0,
  5. String? errorMessage,
  6. bool isCanceled = false,
})

Implementation

UploadStreamProgress({
  required this.progressStatus,
  this.loaded = 0,
  this.total = 0,
  this.progress = 0,
  this.errorMessage,
  this.isCanceled = false,
});