FutureResponseExtension<B> extension
Methods
-
flatAndCollect<
T, X> (Iterable< X> source, Response<T> mapper(X source)) → Future<Response< List< >T> > -
flatAndCollectAsync<
T, X> (Iterable< X> source, Future<Response< mapper(X source)) → Future<T> >Response< List< >T> > -
flatMapAsyncToResponse<
T> (Future< Response< mapper(B? payload)) → Future<T> >Response< T> > -
flatMapToResponse<
T> (Response< T> mapper(B? payload)) → Future<Response< T> > -
ifError(
dynamic callback(B? payload), {int? specificError}) → Future< Response< B> > -
ifErrorAsync(
Future callback(B? payload), {int? specificError}) → Future< Response< B> > -
ifErrorTerminate(
dynamic callback(B? payload), {int? specificError}) → Future< Response< B> > -
ifSuccess(
dynamic callback(B? payload)) → Future< Response< B> > -
ifSuccessAsync(
Future callback(B? payload)) → Future< Response< B> > -
ifSuccessTerminate(
dynamic callback(B? payload)) → Future< Response< B> > -
mapAsyncToResponse<
T> (Future< T> mapper(B? payload)) → Future<Response< T> > -
mapToResponse<
T> (T mapper(B? payload)) → Future< Response< T> >