RequestMapper<R, T> constructor

const RequestMapper<R, T>({
  1. T mapJson(
    1. Map<String, dynamic> json
    )?,
  2. T mapData(
    1. dynamic data
    )?,
  3. T mapResponse(
    1. R resp
    )?,
  4. T onError(
    1. Object e
    )?,
})

Implementation

const RequestMapper({
  this.mapJson,
  this.mapData,
  this.mapResponse,
  this.onError,
});