IntConverter constructor Null safety

const IntConverter(
  1. {int? min,
  2. int? max}
)

Create a new IntConverter.

Implementation

const IntConverter({
  int? min,
  int? max,
}) : super(
        convertInt,
        type: CommandOptionType.integer,
        min: min,
        max: max,
      );