DownloaderUtils constructor
DownloaderUtils({
- required ProgressInterface progress,
- Dio? client,
- required File file,
- bool deleteOnCancel = false,
- required VoidCallback onDone,
- required ProgressCallback progressCallback,
- 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,
});