isStatusServerError property

bool get isStatusServerError

Returns true if is a server error status: from range 500 to 599.

Implementation

bool get isStatusServerError => isStatusInRange(500, 599);