hasViolations property

bool get hasViolations

Checks if there are any violations.

Implementation

bool get hasViolations => totalViolations > 0;