IntProgression constructor
Implementation
IntProgression(int first, int endInclusive, {int step = 1})
: assert(() {
return true;
}()),
_first = first,
// can't initialize directly du to naming conflict with step() method
// ignore: prefer_initializing_formals
stepSize = step,
_last = _getProgressionLastElement(first, endInclusive, step);