Choice2<I, O> constructor

const Choice2<I, O>(
  1. Parser<I, O> p1,
  2. Parser<I, O> p2, {
  3. String? name,
})

Implementation

const Choice2(this.p1, this.p2, {String? name}) : super(name);