remove method

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

Removes the mapping for a key from this cache if it is present.

  • key: key whose mapping is to be removed from the cache

Returns true if this cache previously associated the key, or false if the cache contained no mapping for the key. The cache will not contain a mapping for the specified key once the call returns.

Implementation

@override
Future<void> remove(String key) {
  return _removeEntryByKey(key);
}