toData abstract method
Returns a new state with the given data
.
Use this to transition to a data state from any other state.
Implementation
AsyncState<S> toData(S data);
Returns a new state with the given data
.
Use this to transition to a data state from any other state.
AsyncState<S> toData(S data);