isValid method

bool isValid()

Implementation

bool isValid() {
  return constrainViolations.isEmpty && templateViolations.isEmpty;
}