cacheFile method

  1. @override
Future<File?> cacheFile(
  1. String key
)
override

Implementation

@override
Future<File?> cacheFile(String key) async {
  // Check if the image file is not in the cache
  final fileInfo = await _cacheManager.getFileFromCache(key);
  return fileInfo?.file;
}