flatMapAsyncToResponse<T> method

Future<Response<T>> flatMapAsyncToResponse<T>(
  1. Future<Response<T>> mapper(
    1. B? payload
    )
)

Implementation

Future<Response<T>> flatMapAsyncToResponse<T>(Future<Response<T>> Function(B? payload) mapper) async {
  var res = await this;
  return await res.flatMapAsync(mapper);
}