DoubleRange constructor

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

Creates a new DoubleRange instance.

The start and end parameters define the range's boundaries. startInclusive determines if the start value is included in the range (defaults to true). endInclusive determines if the end value is included in the range (defaults to false).

Implementation

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