state property

AsyncValue<void> state
inherited

Obtains the state currently exposed by this provider.

Mutating this property will notify the provider listeners.

Cannot be called while a provider is creating, unless the setter was called first.

Will return AsyncLoading if used during the first initialization. Subsequent initializations will contain an AsyncValue with the previous state and AsyncValueX.isRefreshing/AsyncValueX.isReloading set accordingly.

Implementation

AsyncValue<State> get state;
void state=(AsyncValue<void> newState)
inherited

Implementation

set state(AsyncValue<State> newState);