IntRange constructor Null safety
Creates an arithmetic progression from first
to last
inclusively,
with common difference of step
which defaults to 1
.
Implementation
const IntRange(int first, int last, {int step = 1})
: super(first, last, step: step);