CommandOption constructor

CommandOption({
  1. required Display label,
  2. required Display description,
  3. required OptionType type,
  4. bool? required,
  5. List<ChannelType>? channels,
  6. int? min,
  7. int? max,
  8. List<OptionChoice>? choices,
})

Implementation

CommandOption ({
  required this.label,
  required this.description,
  required this.type,
  this.required,
  this.channels,
  this.min,
  this.max,
  this.choices
});