Replace constructor

const Replace(
  1. String pattern,
  2. String replacement, {
  3. bool onlyFirst = false,
})

Creates a preprocessor for text replacement.

Implementation

const Replace(
  this.pattern,
  this.replacement, {
  this.onlyFirst = false,
}) : super._();