hasErrors property
bool
get
hasErrors
Checks if there are any errors.
Implementation
bool get hasErrors => (countBySeverity[RuleSeverity.error] ?? 0) > 0;
Checks if there are any errors.
bool get hasErrors => (countBySeverity[RuleSeverity.error] ?? 0) > 0;