count function
Returns an infinite Iterable of nums, starting from start
and
increasing by step
.
Calling Iterator.current before Iterator.moveNext throws StateError.
Implementation
Iterable<num> count([num start = 0, num step = 1]) => _Count(start, step);