deleteAll method

Future<void> deleteAll(
  1. List<String> keys
)

Deletes multiple values associated with the given keys.

Throws a CacheException if there is an error deleting the data.

Implementation

Future<void> deleteAll(List<String> keys) async {
  // Default implementation that calls delete for each key
  // Subclasses should override this with a more efficient implementation if possible
  for (final key in keys) {
    await delete(key);
  }
}