isSuccessful property

bool get isSuccessful

true if statusCode is in the range [200, 299].

Implementation

bool get isSuccessful => statusCode >= 200 && statusCode < 300;