clear method

void clear(
  1. K key
)

Removes the value from the cache.

Implementation

void clear(K key) {
  _cache.remove(key);
}