Pattern constructor

const Pattern(
  1. String pattern, {
  2. String? message,
})

Implementation

const Pattern(this.pattern, {this.message});