RangeExtension extension

on

Methods

through(int end, {int step = 1}) Iterable<int>

Available on int, provided by the RangeExtension extension

Returns a generator from this through the end.
to(int end, {int step = 1}) Iterable<int>

Available on int, provided by the RangeExtension extension

Returns a generator from this up to, but not including, the end.