IndicesIterableExtension extension

Extension on Iterable providing index range methods.

on

Methods

indices({int step = 1}) → Range<int>

Available on Iterable<Object?>, provided by the IndicesIterableExtension extension

Returns a Range of the indices of this iterable that can be accessed with the [] operator.