IntConverter constructor

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

Create a new IntConverter.

Implementation

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