DownloadStreamProgress constructor

DownloadStreamProgress({
  1. required StreamProgressStatus progressStatus,
  2. double speed = 0.0,
  3. Duration? eta,
  4. int receive = 0,
  5. int total = 0,
  6. String? errorMessage,
  7. bool isCanceled = false,
})

Implementation

DownloadStreamProgress({
  required this.progressStatus,
  this.speed = 0.0,
  this.eta,
  this.receive = 0,
  this.total = 0,
  this.errorMessage,
  this.isCanceled = false,
});