UnmodifiableCollectiveValue<V>.fromProperties constructor
UnmodifiableCollectiveValue<V>.fromProperties (
- CollectiveValueProperties<
V> properties, { - bool unmodifiableElement = true,
- V? value,
Creates from properties with optional initial value.
Parameters:
properties: Configuration propertiesunmodifiableElement: If true and value contains Cell objects, makes them unmodifiablevalue: Optional initial value
Implementation
UnmodifiableCollectiveValue.fromProperties(CollectiveValueProperties<V> super.properties, {super.unmodifiableElement, V? value})
: super(elements: value != null ? [value] : null);