Rule constructor

Rule(
  1. String name, {
  2. List<String>? filters,
  3. FilterFn? filterFn,
  4. ReplacementFn? replacement,
  5. AppendFn? append,
})

Implementation

Rule(this.name, {this.filters, this.filterFn, this.replacement, this.append})
    : _realFilterFn = _buildFilterFn(filters, filterFn);