read method

Result<T>? read(
  1. K key
)

Attempts to find a cached ResultNotifier for the specified key, and return its ResultNotifier.value.

Returns null if no such ResultNotifier exists in cache.

Implementation

Result<T>? read(K key) {
  return _cache[key]?.notifier.value;
}