intConverter top-level constant Null safety
A Converter that converts input to an int
.
This converter attempts to parse the next word or quoted section of the input with int.parse.
This converter has a Discord Slash Command Argument Type of CommandOptionType.integer.
Implementation
const Converter<int> intConverter = IntConverter();