UnmodifiableCollective<E>.fromProperties constructor

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

Implementation

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