value property
The value currently exposed.
If currently in error/loading state, will return the previous value.
If there is no previous value available, null
will be returned.
If you do not want to return previous value during loading/error states,
consider using unwrapPrevious
:
ref.watch(provider).unwrapPrevious().value;
Implementation
@override
ValueT get value => _value.$1;