flatten method

Set<E> flatten()

Implementation

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