CollectiveValue<V>.unmodifiable constructor

CollectiveValue<V>.unmodifiable(
  1. CollectiveValue<V> bind, {
  2. bool unmodifiableElement,
})

Creates an unmodifiable version of this CollectiveValue.

Parameters:

  • bind: The CollectiveValue to make unmodifiable
  • unmodifiableElement: If true and value is a Cell, makes it unmodifiable

Implementation

factory CollectiveValue.unmodifiable(CollectiveValue<V> bind, {bool unmodifiableElement}) = UnmodifiableCollectiveValue<V>.bind;