ChoiceOption.double constructor

ChoiceOption.double({
  1. required String name,
  2. required String description,
  3. required List<Choice<double>> choices,
  4. bool required = false,
})

Implementation

factory ChoiceOption.double(
        {required String name,
        required String description,
        required List<Choice<double>> choices,
        bool required = false}) =>
    ChoiceOption._(
        name, description, CommandOptionType.double, required, null, choices);