IntRange constructor

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

Defines a range of integers. Min and max are inclusive, and default to negative and positive infinity (subject to integer size limitations), respectively, if not declared.

Implementation

const IntRange({this.min, this.max});