download abstract method

Future<Result<File>> download(
  1. String url, {
  2. required String savePath,
  3. ProgressCallback? onProgress,
  4. RequestOptions? options,
})

Standard one-shot file download.

Implementation

Future<Result<File>> download(
  String url, {
  required String savePath,
  ProgressCallback? onProgress,
  RequestOptions? options,
});