forEach<R> method
void
forEach<R>(
- T function(
- R val
Implementation
void forEach<R>(T Function(R val) function) {
for (int i = 0; i < length; i++) {
function(get<R>(i));
}
}