clearAll static method

Future<void> clearAll()

Clear all caches

Implementation

static Future<void> clearAll() async {
  final caches = _caches.values.toList();
  for (final cache in caches) {
    await cache.clear();
  }
  _caches.clear();
}