UnionSetController<E> constructor

UnionSetController<E>(
  1. {bool disjoint = false}
)

Creates a set of sets that provides a view of the union of those sets.

If disjoint is true, this assumes that all component sets are disjoint—that is, that they contain no elements in common. This makes many operations including length more efficient.

Implementation

UnionSetController({bool disjoint = false}) : this._(<Set<E>>{}, disjoint);