delete method

  1. @override
Future<void> delete(
  1. String key
)
override

Deletes the value associated with the given key.

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

Implementation

@override
Future<void> delete(String key) async {
  _cache.remove(key);
}