DoubleRange constructor

DoubleRange(
  1. double start,
  2. double endInclusive
)

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;
      }());