zipAndTransform<T, R> method
Returns a Iterable of values built from the elements of this collection
and the other
collection with the same index using the provided
transform
function applied to each pair of elements. The returned
Iterable has length of the shortest collection.
Implementation
Iterable<R> zipAndTransform<T, R>(
Iterable<T> other,
R Function(Pair<E, T> pair) transform,
) =>
zip(other).map(transform);