isSuccessful property

bool get isSuccessful

Implementation

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