reduce method

  1. @override
E reduce(
  1. E combine(
    1. E value,
    2. E element
    )
)
override

Reduces the set to a single value using the given combine function.

This is a non-mutating operation.

Implementation

@override
E reduce(E Function(E value, E element) combine) => value.reduce(combine);