call method

Future<APIResponse> call(
  1. APIRequest request
)

Evaluate the request

See APIRequest and APIRequest.result

Implementation

Future<APIResponse> call(APIRequest request) {
  if (!request._isProcessingNeeded) return request.result;

  _sendToCart(request);

  return request.result;
}