fold<T> method
Reduces the set to a single value by iteratively combining elements.
This is a non-mutating operation.
Implementation
@override
T fold<T>(T initialValue, T Function(T previousValue, E element) combine) =>
value.fold(initialValue, combine);