remove method

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

Removes key from the cache file.

Implementation

@override

/// Removes [key] from the cache file.
Future<void> remove(String key) async {
  final map = await _readAll();
  map.remove(key);
  await _writeAll(map);
}