mergeDuplicatesBy method
Merge multiple values from an iterable given a predicate without modifying the original iterable.
Implementation
Iterable<T> mergeDuplicatesBy(
IterableFunction<T, U> fn, MergeableFunction<T> mergeFn) =>
_mergeDuplicatesBy(this, fn, mergeFn);