DoubleRange.until constructor

DoubleRange.until(
  1. double stop, [
  2. double step = 1.0
])

Create a range 0, stop with step

IntRange.until(5, 2); // (0.0, 2.0, 4.0) IntRange.until(-5, -2); // (0.0, -2.0, -4.0)

Implementation

factory DoubleRange.until(double stop, [double step = 1.0]) =>
    DoubleRange(0.0, stop, step);