get abstract method

FutureOr<V?> get(
  1. K key
)

Returns the cached value for key, or null if absent or expired.

When ExpirationBehavior.soft is configured, use getResult instead to distinguish a live hit from a stale-but-returned value.

Implementation

FutureOr<V?> get(K key);