ResultX<S> extension
Methods
-
linkWithState(
dynamic onData(Result< S> e), {dynamic onSuccess(S e)?, dynamic onError(String error)?}) → Future<Result< S> > -
Available on Future<
Result< , provided by the ResultX extensionS> > -
when(
{dynamic onStart()?, required dynamic onSuccess(S e)?, dynamic onError(String error)?, dynamic onDone()?, dynamic onLoading(bool isLoading)?}) → Future< Result< S> > -
Available on Future<
Result< , provided by the ResultX extensionS> > -
whenFailure(
dynamic onError(String error)) → Future -
Available on Future<
Result< , provided by the ResultX extensionS> > -
whenSuccess(
dynamic onSuccess(S value)) → Future -
Available on Future<
Result< , provided by the ResultX extensionS> >