UnmodifiableCollectiveValue<V>.bind constructor
UnmodifiableCollectiveValue<V>.bind (
- CollectiveValue<
V> bind, { - bool unmodifiableElement = true,
Creates an unmodifiable wrapper around an existing CollectiveValue.
Parameters:
bind
: The value to make unmodifiableunmodifiableElement
: If true and value contains Cell objects, makes them unmodifiable
Implementation
UnmodifiableCollectiveValue.bind(CollectiveValue<V> bind, {bool unmodifiableElement = true})
: this.fromProperties((bind._properties as _CollectiveValueProperties).copy(bind: bind) as CollectiveValueProperties<V>, unmodifiableElement: unmodifiableElement,
value: bind.value
);