Option.channel constructor
Option.channel(
- String name,
- String description, {
- List<
ChannelType> ? channels, - bool? required = false,
Implementation
factory Option.channel(String name, String description, { List<ChannelType>? channels, bool? required = false }) {
return Option(name: name, description: description, type: OptionType.channel, channels: channels, required: required);
}