download static method
Implementation
static Future<Uint8List?> download(String url,
[void Function(int?, int)? onBytesReceived, bool? force]) {
if (isYoutubeUrl(url)) {
return downloadFromYoutube(url, onBytesReceived, force);
} else {
return ModernFormDownloadHelper.downloadWithProgress(url,
onBytesReceived: onBytesReceived);
}
}