Option.channel constructor

Option.channel(
  1. String name,
  2. String description, {
  3. List<ChannelType>? channels,
  4. 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);
}