DownloadProgress constructor

DownloadProgress({
  1. required dynamic downloadId,
  2. required int progress,
  3. required DownloadStatus status,
  4. String? filePath,
  5. StatusReason? statusReason,
})

A class that represents the download progress and status

Implementation

DownloadProgress({
  required this.downloadId,
  required this.progress,
  required this.status,
  this.filePath,
  this.statusReason,
});