indexed property - IterableExtensions extension - dart:collection library (original) (raw)
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
@pragma('vm:prefer-inline')
Iterable<(int, T)> get indexed => IndexedIterable<T>(this, 0);