cache abstract method

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

Retrieves cached data for the given task from memory or file.

Returns a Uint8List containing the cached data if available, or null if the data is not cached.

Implementation

Future<Uint8List?> cache(DownloadTask task);