value property
The currently held value.
Implementation
@override
T get value {
if (active != null) subscribe(active as Observer<T>);
switch (_state) {
case State.initializing:
case State.computing:
throw CircularDependencyError();
case State.computed:
return _value as T;
case State.errored:
throw UnhandledError(_error!, _stackTrace!);
}
}