UnmodifiableCollective<E> constructor

UnmodifiableCollective<E>(
  1. Iterable<E> elements, {
  2. bool unmodifiableElement = true,
  3. CollectiveProperties<E>? properties,
})

Implementation

factory UnmodifiableCollective(Iterable<E> elements, {bool unmodifiableElement = true, CollectiveProperties<E>? properties}) {
  return _UnmodifiableCollective<E>(
      properties: properties ?? CollectiveProperties<E>(),
      unmodifiableElement: unmodifiableElement,
      elements: elements
  );
}