addRules method

void addRules(
  1. String key,
  2. Iterable<Matcher> rules
)

Adds all given rules.

Implementation

void addRules(String key, Iterable<Matcher> rules) {
  rules.forEach((rule) => addRule(key, rule));
}