IndexExtension<T> extension

on

Methods

index([int startIndex = 0, bool descending = false]) Iterable<MapEntry<int, T>>

Available on Iterable<T>, provided by the IndexExtension extension

Returns an iterable of MapEntry representing the elements in this iterable combined with the zero-based index where the element was found.