OptionDefinition.multi constructor

const OptionDefinition.multi({
  1. required String name,
  2. String? abbr,
  3. required String description,
  4. List<String>? allowedValues,
  5. bool mandatory = false,
  6. String? valueName,
  7. bool hidden = false,
})

Create a multi-value option.

Implementation

const OptionDefinition.multi({
  required this.name,
  this.abbr,
  required this.description,
  this.allowedValues,
  this.mandatory = false,
  this.valueName,
  this.hidden = false,
})  : type = OptionType.multiOption,
      defaultValue = null,
      negatable = false;