callAndResolve method

Future<R?> callAndResolve(
  1. Map<String, dynamic>? parameters, {
  2. Object? body,
  3. int? maxRetries,
})

Performs a call, making the HTTP request, than resolves the response.

Implementation

Future<R?> callAndResolve(Map<String, dynamic>? parameters,
    {Object? body, int? maxRetries}) async {
  var response = (await call(parameters, body: body, maxRetries: maxRetries));
  return resolveResponse(response);
}