step method

IntProgression step(
  1. int step
)

Creates a IntRange with a different stepSize, keeps first and last value

Implementation

IntProgression step(int step) => IntProgression(_first, _last, step: step);