sendPrimitive<ModelType> abstract method

Future<ModelType?> sendPrimitive<ModelType>(
  1. RequestInformation requestInfo, [
  2. Map<String, ParsableFactory<Parsable>>? errorMapping
])

Executes the HTTP request specified by the given RequestInformation and returns the deserialized primitive response model.

The error factories errorMapping is used in case of a failed request.

Implementation

Future<ModelType?> sendPrimitive<ModelType>(
  RequestInformation requestInfo, [
  Map<String, ParsableFactory<Parsable>>? errorMapping,
]);