IntRange.until constructor
Returns an iterable of integers from 0 inclusive to stop
inclusive with
step
.
IntRange.until(5, 2); // (0, 2, 4) IntRange.until(-5, -2); // (0, -2, -4)
Implementation
factory IntRange.until(int stop, [int step = 1]) => IntRange(0, stop, step);