merge method

IgnoreRules merge(
  1. IgnoreRules other
)

Merges this rules with another, creating combined rules.

Implementation

IgnoreRules merge(IgnoreRules other) {
  return IgnoreRules._(
    [..._patterns, ...other._patterns],
    {..._negations, ...other._negations},
  );
}