DefaultState<E, S> extension

on

Methods

fromError(E error) → void

Available on AtomNotifier<AtomAppState<E, S>>, provided by the DefaultState extension

fromSuccess(S data) → void

Available on AtomNotifier<AtomAppState<E, S>>, provided by the DefaultState extension

onState({void onInitial()?, void onLoading()?, void onSuccess(S value)?, void onError(E error)?}) → void

Available on AtomNotifier<AtomAppState<E, S>>, provided by the DefaultState extension