required<T extends Enum> static method

RequiredRepeatableOption<T> required<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

static RequiredRepeatableOption<T> required<T extends Enum>(
  String name,
  List<T> choices, {
  String? short,
  String? description,
  bool hidden = false,
  bool unique = false,
}) => _RequiredRepeatableChoiceOption(
  name,
  choices,
  short: short,
  description: description,
  hidden: hidden,
  unique: unique,
);