Pattern constructor

const Pattern(
  1. List<PatternElement> elements, {
  2. Span? span,
})

Wraps the pattern's elements.

Implementation

const Pattern(this.elements, {this.span});