clearAll static method

Future<void> clearAll()

清空所有已注册的缓存

Implementation

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