Option<T>.mentionable constructor

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

Implementation

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