zipWith<R> method

Set<R> zipWith<R>(
  1. R zipFunction(
    1. List<E>
    )
)

Returns an iterable by performing a function between corresponding elements of a nested iterable.

[1, 2, 3, 4, 5, 6].zipWith((args) => args0 + args1) returns 5, 7, 9.

Implementation

Set<R> zipWith<R>(R Function(List<E>) zipFunction) {
  return h.zipWithIterable(this, zipFunction).toSet();
}