DownloaderUtils constructor

DownloaderUtils({
  1. required ProgressInterface progress,
  2. Dio? client,
  3. required File file,
  4. bool deleteOnCancel = false,
  5. required dynamic onDone,
  6. required ProgressCallback progressCallback,
})

Implementation

DownloaderUtils({
  required this.progress,
  this.client,
  required this.file,
  this.deleteOnCancel = false,
  required this.onDone,
  required this.progressCallback,
});