isSuccessStatusCode property
bool
isSuccessStatusCode
Returns true if the status code is success.
Implementation
bool get isSuccessStatusCode => statusCode >= 200 && statusCode < 300;
Returns true if the status code is success.
bool get isSuccessStatusCode => statusCode >= 200 && statusCode < 300;