NumConverter<T extends num> constructor
- T? convert( ),
- {required CommandOptionType type = CommandOptionType.string,
- T? min,
- T? max}
Create a new NumConverter.
Implementation
const NumConverter(
T? Function(StringView, ContextData) super.convert, {
required super.type,
this.min,
this.max,
});