indexed property

Iterable<(int, T)> indexed

Pairs of elements of the indices and elements of this iterable.

The elements are (0, this.first) through (this.length - 1, this.last), in index/iteration order.

Implementation

Iterable<(int, T)> get indexed => IndexedIterable<T>(this, 0);