isStatusSuccessful property

bool get isStatusSuccessful

Returns true if is a successful status: from range 200 to 299.

Implementation

bool get isStatusSuccessful => isStatusInRange(200, 299);