hasError property

bool get hasError

Implementation

bool get hasError => message != null || (statusCode >= 400);