download abstract method

Future<Uint8List?> download(
  1. DownloadTask task
)

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);