integer static method

IntegerSchema integer({
  1. String? description,
  2. int? min,
  3. int? max,
})

An integer, optionally bounded by min and max (inclusive).

Implementation

static IntegerSchema integer({String? description, int? min, int? max}) =>
    IntegerSchema._(description: description, min: min, max: max);