Returns the list of elements with specified step.
StepList toStepList(int step) => StepList(start, end, step);