forEachIndexed method
Calls f for each element in the iterable.
Implementation
void forEachIndexed(void Function(E e, int i) f) {
var i = 0;
for (var e in this) {
f(e, i++);
}
}
Calls f for each element in the iterable.
void forEachIndexed(void Function(E e, int i) f) {
var i = 0;
for (var e in this) {
f(e, i++);
}
}