FallbackConverter<T> constructor
Null safety
- Iterable<
Converter< converters,T> > - {Iterable<
ArgChoiceBuilder> ? choices, - CommandOptionType? type,
- void processOptionCallback( )?,
- FutureOr<
Iterable< autocompleteCallback( )?}ArgChoiceBuilder> ?>
Create a new FallbackConverter.
Implementation
const FallbackConverter(
this.converters, {
Iterable<ArgChoiceBuilder>? choices,
CommandOptionType? type,
this.processOptionCallback,
this.autocompleteCallback,
}) : _choices = choices,
_type = type,
output = T;