get method

V? get(
  1. K key
)

Implementation

V? get(K key) {
  final value = _cache.remove(key);
  if (value != null) {
    _cache[key] = value;
  }
  return value;
}