DoubleRange constructor
Implementation
DoubleRange(this.start, this.endInclusive)
: assert(() {
if (start == null) throw ArgumentError("start can't be null");
if (endInclusive == null) {
throw ArgumentError("endInclusive can't be null");
}
return true;
}());