flattenedToSet property
The unique sequential elements of each iterable in this iterable.
Iterates the elements of this iterable. For each one, which is itself an iterable, all the elements of that are added to the returned set, before moving on to the next element.
Implementation
Set<T> get flattenedToSet => {
for (final elements in this) ...elements,
};