removeFile method

  1. @override
Future<void> removeFile(
  1. String key
)
override

Remove a file from the cache

Implementation

@override
Future<void> removeFile(String key) async {
  final cacheObject = await _store.retrieveCacheData(key);
  if (cacheObject?.id != null) {
    await _store.removeCachedFile(cacheObject!);
  }
}