isServerError property

bool get isServerError

True if 5xx server error

Implementation

bool get isServerError => statusCode >= 500;