value method

Result<T> value(
  1. K key
)

Gets the current ResultNotifier.value, of the ResultNotifier with the specified key.

If no such ResultNotifier exists, a new one will be created using the create function.

To get the value without creating a new ResultNotifier, use read instead.

Implementation

Result<T> value(K key) {
  return getNotifier(key).value;
}