clearAll method

Future<void> clearAll()

Implementation

Future<void> clearAll() async {
  for (final key in List.from(_box.keys)) {
    await remove(key.toString());
  }
  await _box.clear();
  CloudLogger.info('Cache cleared');
}