removeCache static method

Future<void> removeCache(
  1. String name
)

Remove cache

Implementation

static Future<void> removeCache(String name) async {
  final cache = _caches[name];
  if (cache != null) {
    await cache.clear();
    _caches.remove(name);
  }
}