Option<T>.integer constructor

Option<T>.integer({
  1. required String name,
  2. required String description,
  3. bool required = false,
})

Implementation

factory Option.integer(
        {required String name,
        required String description,
        bool required = false}) =>
    Option._(name, description, CommandOptionType.integer, null, required);