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