isSuccessfulStatusCode method
Implementation
bool isSuccessfulStatusCode(HttpStatus statusCode) {
return statusCode == HttpStatus.OK || statusCode == HttpStatus.CREATED;
}
bool isSuccessfulStatusCode(HttpStatus statusCode) {
return statusCode == HttpStatus.OK || statusCode == HttpStatus.CREATED;
}