value property
T?
value
The value currently exposed.
When reading value during loading state, null will be returning.
When trying to read value in error state, the error will be rethrown
instead. The exception is if isRefreshing
is true, in which case
the previous value will be returned.
See also valueOrNull
, which does not throw during error state.
Implementation
T? get value;