fetchToStorage static method
Downloads silently into app storage and returns key when done.
Implementation
static Future<String> fetchToStorage(
String url,
String key, {
UStorageBucket bucket = UStorageBucket.support,
Map<String, String> headers = const <String, String>{},
void Function(double progress)? onProgress,
UChecksum? checksum,
Duration? expireIn,
bool persistent = true,
}) => _m.fetchToStorage(url, key, bucket: bucket, headers: headers, onProgress: onProgress, checksum: checksum, expireIn: expireIn, persistent: persistent);