clearCustomCacheObjects method

Future<void> clearCustomCacheObjects()

Implementation

Future<void> clearCustomCacheObjects() async {
  final keys = await _clientBox.getAllKeys();
  await Future.wait(
    keys
        .where((key) => key.startsWith('custom_cache_'))
        .map(_clientBox.delete),
  );
}