downloadFile abstract method

Future<FileInfo> downloadFile(
  1. String url, {
  2. String? key,
  3. Map<String, String>? authHeaders,
  4. bool force = false,
})

Download the file and add to cache

Implementation

Future<FileInfo> downloadFile(String url,
    {String? key, Map<String, String>? authHeaders, bool force = false});