hasErrors property

bool get hasErrors

Implementation

bool get hasErrors =>
    issues.any((issue) => issue.severity == ValidationSeverity.error);