downloadFile method
Download the file from the DownloadFileOptions
Implementation
Future<void> downloadFile({
required String downloadUrl,
required String savePath,
}) async {
Dio dio = Dio();
await dio.download(downloadUrl, savePath);
}
Download the file from the DownloadFileOptions
Future<void> downloadFile({
required String downloadUrl,
required String savePath,
}) async {
Dio dio = Dio();
await dio.download(downloadUrl, savePath);
}