zipWithNextAndTransform<R> method
Returns a Iterable containing the results of applying the given
transform
function to an each Pair of two adjacent elements in this
collection.
Implementation
Iterable<R> zipWithNextAndTransform<R>(
R Function(Pair<E, E> pair) transform,
) =>
zipWithNext.map(transform);