starmap<T> method
Make an iterator that computes the function using arguments obtained from the iterable. Used instead of map() when argument parameters are already grouped in tuples from a single iterable (the data has been “pre-zipped”).
Implementation
Iterable<T> starmap<T>(T Function(T1, T2) toElement) {
return map((e) => toElement(e.item1, e.item2));
}