value property
T?
get
value
The current value of the dependency, if available.
Implementation
T? get value => _value;
set
value
(T? instance)
Sets the value of the dependency and completes the completer if the value is not null.
Implementation
set value(final T? instance) {
_value = instance;
if (instance != null) {
completer.complete(instance);
}
}