add method

void add(
  1. String violation
)

Implementation

void add(String violation) {
  _violations.add(violation);
}