UnmodifiableCollectiveValue<V> constructor
UnmodifiableCollectiveValue<V> (
- V value, {
- bool unmodifiableElement = true,
- CollectiveValueProperties<
V> ? properties,
Creates an unmodifiable value with the specified initial value.
Parameters:
value
: The initial immutable valueunmodifiableElement
: If true and value is a Cell, makes it unmodifiableproperties
: Configuration properties for the collective
Implementation
UnmodifiableCollectiveValue(V value, {bool unmodifiableElement = true, CollectiveValueProperties<V>? properties})
: super(properties ?? CollectiveValueProperties<V>(), unmodifiableElement: unmodifiableElement, elements: [value]);