remove abstract method

Future<void> remove(
  1. String key
)

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

Future<void> remove(String key);