askInt static method

Future<int> askInt(
  1. String question, {
  2. required int defaultValue,
  3. int? min,
  4. int? max,
})

Implementation

static Future<int> askInt(
  String question, {
  required int defaultValue,
  int? min,
  int? max,
}) =>
    InputPrompt.askInt(question, defaultValue: defaultValue, min: min, max: max);