flatten method
Implementation
Set<E> flatten() => this.fold(<E>{}, (Set<E> previousValue, Set<E> element) => previousValue.union(element));
Set<E> flatten() => this.fold(<E>{}, (Set<E> previousValue, Set<E> element) => previousValue.union(element));