hasAnyViolations method

bool hasAnyViolations()

Implementation

bool hasAnyViolations() {
  return constrainViolations.isNotEmpty || templateViolations.isNotEmpty;
}