indexed method

Iterable<ListIndex<T>> indexed()

Implementation

Iterable<ListIndex<T>> indexed() {
  return this.mapIndexed(
      ((T item, int idx) => ListIndex<T>(idx, item, this.length)));
}