TextMatcher constructor

const TextMatcher(
  1. String pattern
)

Implementation

const TextMatcher(this.pattern)
    : assert(pattern.length > 0, '`pattern` must not be empty.');