CollectiveValueProperties<V> class abstract interface

Configuration properties for a CollectiveValue instance.

This class encapsulates all configurable aspects of a CollectiveValue, including:

  • Value storage and retrieval behavior
  • Validation rules
  • Reactive bindings
  • Value transformation pipelines
Implemented types

Constructors

CollectiveValueProperties.new({Cell? bind, TestCollective<dynamic, Collective> test, CollectiveReceptor<dynamic, Signal, Signal> receptor})
Creates basic properties for a CollectiveValue.
factory
CollectiveValueProperties.fromRecord(dynamic record)
Creates properties from a record of values.
factory

Properties

bind Cell?
The cell this cell is bound to (if any)
no setterinherited
container → dynamic
The underlying iterable container holding elements.
no setterinherited
containerType ContainerType
The container type defining collection behavior.
no setterinherited
getter Function
Custom logic for retrieving values.
no setter
hashCode int
The hash code for this object.
no setterinherited
receptor CollectiveReceptor<dynamic, Signal, Signal>
Gets the receptor responsible for handling signals.
no setterinherited
record → dynamic
A storage record for the properties of a cell
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setter Function
Custom logic for storing values.
no setter
synapses Synapses<Signal, Cell>
The link manager for cell relationships
latefinalinherited
test TestCollective<dynamic, Collective>
The test rules for validation
no setterinherited

Methods

deputy({required Cell bind, covariant TestCollective<dynamic, Collective>? test, covariant MapObject? mapObject}) CollectiveValueProperties<V>
Creates an deputy version of these properties.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create<V, I extends Iterable<V>>({Cell? bind, ContainerType? container, CollectiveReceptor<dynamic, Signal, Signal>? receptor, TestCollective<dynamic, Collective> test = TestCollective.passed, Synapses<Signal, Cell> synapses = Synapses.enabled, MapObject? mapObject, bool setter(CollectiveValue<V> value, I container, V? v)?, V? getter(CollectiveValue<V> value, I container)?}) CollectiveValueProperties<V>
Factory constructor for full property configuration.
override