get method

V? get(
  1. K key
)

Get a value from cache

Implementation

V? get(K key) {
  return _cache[key]?.value;
}