isServerError method

bool isServerError()

Implementation

bool isServerError() => statusCode >= 500 && statusCode <= 599 || false;