DownloadTaskModel constructor

const DownloadTaskModel({
  1. required String id,
  2. required String url,
  3. required String fileName,
  4. required String filePath,
  5. required String tempPath,
  6. required DownloadTaskStatus status,
  7. required int downloadedBytes,
  8. required int totalBytes,
  9. required int retries,
  10. required int updatedAtMillis,
})

Implementation

const DownloadTaskModel({
  required this.id,
  required this.url,
  required this.fileName,
  required this.filePath,
  required this.tempPath,
  required this.status,
  required this.downloadedBytes,
  required this.totalBytes,
  required this.retries,
  required this.updatedAtMillis,
});