func/download_file library

Functions

downloadFile(bool showLog, String url, String extFile, String folder, int ttl, {Dio? dio}) Future<File>
Downloads a file, saves it with a unique name, and caches it.
saveToCache(bool showLog, String url, List<int> data, String extFile, String folder) Future<File>
Saves file to cache with a recognizable name.