UnmodifiableCollectiveSet<E> constructor
UnmodifiableCollectiveSet<E> (
- Iterable<
E> elements, { - bool unmodifiableElement = true,
- CollectiveSetProperties<
E> ? properties,
Creates an unmodifiable set with initial elements.
Parameters:
elements: Initial elementsunmodifiableElement: If true, makes elements unmodifiable when they're Cellsproperties: Configuration properties
Implementation
UnmodifiableCollectiveSet(Iterable<E> elements, {bool unmodifiableElement = true, CollectiveSetProperties<E>? properties})
: super(properties ?? CollectiveSetProperties<E>(), unmodifiableElement: unmodifiableElement, elements: elements);