DownloaderUtils constructor

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

Implementation

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