OneOf constructor

const OneOf(
  1. String chars, {
  2. String? name,
})

Implementation

const OneOf(this.chars, {String? name}) : super(name);