forEachIndex method
Like Iterable
Implementation
// ignore: public_member_api_docs
void forEachIndex(void f(E e, int i)) {
var i = 0;
this.forEach((e) => f(e, i++));
}
Like Iterable
// ignore: public_member_api_docs
void forEachIndex(void f(E e, int i)) {
var i = 0;
this.forEach((e) => f(e, i++));
}