download abstract method
Downloads data from the network for the given task
.
Returns a Uint8List containing the downloaded data,
or null
if the download fails.
Implementation
Future<Uint8List?> download(DownloadTask task);
Downloads data from the network for the given task
.
Returns a Uint8List containing the downloaded data,
or null
if the download fails.
Future<Uint8List?> download(DownloadTask task);