IntRange constructor

IntRange(
  1. num? start,
  2. num? end, {
  3. bool startInclusive = true,
  4. bool endInclusive = false,
})

Creates a new IntRange with the specified start and end values.

The startInclusive and endInclusive parameters determine whether the start and end values are included in the range, respectively.

Implementation

IntRange(super.start, super.end, {super.startInclusive = true, super.endInclusive = false});