setToIsWaiting method
void
setToIsWaiting({
- SideEffects<
T> ? sideEffects, - bool shouldOverrideDefaultSideEffects(
- SnapState<
T>
- SnapState<
- StateInterceptor<
T> ? stateInterceptor,
override
Set the state to the waiting status
Implementation
@override
void setToIsWaiting({
SideEffects<T>? sideEffects,
bool Function(SnapState<T>)? shouldOverrideDefaultSideEffects,
StateInterceptor<T>? stateInterceptor,
}) {
_isDone = false;
notify(
nextSnap: _snapState.copyToIsWaiting(''),
sideEffects: sideEffects,
shouldOverrideDefaultSideEffects: shouldOverrideDefaultSideEffects,
stateInterceptor: stateInterceptor,
);
}