isSuccessful property
bool
get
isSuccessful
true if statusCode is in the range [200, 299].
Implementation
bool get isSuccessful => statusCode >= 200 && statusCode < 300;
true if statusCode is in the range [200, 299].
bool get isSuccessful => statusCode >= 200 && statusCode < 300;