validateResponse function
dynamic
validateResponse(
- Response response
Implementation
validateResponse(http.Response response) {
if (response.statusCode < 200 || response.statusCode >= 300) {
throw ApillonApiError(response.body);
}
return true;
}