call method
Evaluate the request
See APIRequest and APIRequest.result
Implementation
Future<APIResponse> call(APIRequest request) {
if (!request._isProcessingNeeded) return request.result;
if (request.useAuth && token == null) {
throw APIError.tokenError();
}
_sendToCart(request);
return request.result;
}