send<R, ER extends ResponseModel> abstract method

Future<R> send<R, ER extends ResponseModel>({
  1. required Request request,
  2. required R responseFromMap(
    1. dynamic map
    ),
  3. ER errorResponseFromMap(
    1. Map<String, dynamic> map
    )?,
})

Implementation

Future<R> send<R, ER extends ResponseModel>({
  required Request request,
  required R Function(dynamic map) responseFromMap,
  ER Function(Map<String, dynamic> map)? errorResponseFromMap,
});