CollectiveList<E>.unmodifiable constructor

CollectiveList<E>.unmodifiable(
  1. CollectiveList<E> bind, {
  2. bool unmodifiableElement = true,
})

Creates an unmodifiable CollectiveList from elements

Implementation

factory CollectiveList.unmodifiable(CollectiveList<E> bind, {bool unmodifiableElement = true}) {
  return UnmodifiableCollectiveList<E>.bind(bind, unmodifiableElement: unmodifiableElement);
}