hasViolations property
bool
get
hasViolations
Checks if there are any violations.
Implementation
bool get hasViolations => totalViolations > 0;
Checks if there are any violations.
bool get hasViolations => totalViolations > 0;