IntTimesIndexed extension

on

Methods

timesIndexed<T>(void fn(int i)) → void
Calls the fn this many times with the current iteration index.