hasError is true when statusCode is not between 200 and 299.
hasError
bool get hasError => status.hasError;