CommandOptionBuilder.subCommand constructor
CommandOptionBuilder.subCommand({})
Implementation
CommandOptionBuilder.subCommand({
required this.name,
this.nameLocalizations,
required this.description,
this.descriptionLocalizations,
required List<CommandOptionBuilder> this.options,
}) : type = CommandOptionType.subCommand,
isRequired = null,
choices = null,
channelTypes = null,
minValue = null,
maxValue = null,
minLength = null,
maxLength = null,
hasAutocomplete = null;