CommandOption constructor
CommandOption({
- required Display label,
- required Display description,
- required OptionType type,
- bool? required,
- List<
ChannelType> ? channels, - int? min,
- int? max,
- List<
OptionChoice> ? choices,
Implementation
CommandOption ({
required this.label,
required this.description,
required this.type,
this.required,
this.channels,
this.min,
this.max,
this.choices
});