Option<T>.channel constructor
Option<T>.channel ({
- required String name,
- required String description,
- List<
ChannelType> channels = const [], - bool required = false,
Implementation
factory Option.channel(
{required String name,
required String description,
List<ChannelType> channels = const [],
bool required = false}) =>
Option._(
name, description, CommandOptionType.channel, channels, required);