RegexValue constructor

const RegexValue(
  1. String pattern,
  2. String options
)

Creates a regular expression from its pattern and its options, for example RegexValue('^foo', 'i').

Implementation

const RegexValue(this.pattern, this.options);