getCachedBytes static method

Future<Uint8List> getCachedBytes(
  1. String url
)

Implementation

static Future<Uint8List> getCachedBytes(String url) async {
  final file = await instance.getSingleFile(url, key: key + url);
  return await file.readAsBytes();
}