choices property

  1. @override
Iterable<CommandOptionChoiceBuilder> choices
override

The choices for this type.

Choices will be the only options selectable in Slash Commands, however text commands might still pass any content to this converter.

Implementation

@override
Iterable<CommandOptionChoiceBuilder<dynamic>> get choices => [];