RepeatableChoiceOption<T extends Enum> constructor

RepeatableChoiceOption<T extends Enum>(
  1. String name,
  2. List<T> choices, {
  3. String? short,
  4. String? description,
  5. bool hidden = false,
  6. bool unique = false,
})

Implementation

new(
  super.name,
  List<T> choices, {
  super.short,
  super.description,
  super.hidden,
  this.unique = false,
}) : choices = List.unmodifiable(choices);