CollectiveQueue<E>.unmodifiable constructor
CollectiveQueue<E>.unmodifiable (
- CollectiveQueue<
E> bind, { - bool unmodifiableElement = true,
Creates an unmodifiable CollectiveQueue from elements
Implementation
factory CollectiveQueue.unmodifiable(CollectiveQueue<E> bind, {bool unmodifiableElement = true}) {
return UnmodifiableCollectiveQueue<E>.bind(bind, unmodifiableElement: unmodifiableElement);
}