indexed method Null safety

Iterable<ListIndex<T>> indexed()

Implementation

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