hasErrors property

bool get hasErrors

Checks if there are any errors.

Implementation

bool get hasErrors => (countBySeverity[RuleSeverity.error] ?? 0) > 0;