stepBy method

IntProgression stepBy(
  1. int step
)

Returns an IntProgression with this range's start and endInclusive, as well as the given step.

Implementation

IntProgression stepBy(int step) => IntProgression(start, endInclusive, step);