count function

Iterable<num> count (
  1. [num start = 0,
  2. num step = 1]
)

Returns an infinite Iterable of nums, starting from start and increasing by step.

Implementation

Iterable<num> count([num start = 0, num step = 1]) => _Count(start, step);