doubleConverter top-level constant Null safety

Converter<double> const doubleConverter

Converter to convert input to doubles.

This attempts to parse the next quoted word in the input as a base-10 decimal number.

Implementation

const Converter<double> doubleConverter = Converter<double>(
  convertDouble,
  type: CommandOptionType.number,
);