remove method

V? remove(
  1. K key
)

Removes the value associated with key and returns it.

Implementation

V? remove(K key) {
  return _cache.remove(key);
}