Interface defining configuration properties for Collective instances.
This interface provides access to the core configuration needed by reactive collections, including container type, receptor handling, and validation rules.
Type Parameters:
<E>
: The type of elements in the collection
See also:
- CollectiveCellProperties - The concrete implementation
- Collective - The reactive collection interface
- Implemented types
- Implementers
Constructors
-
CollectiveProperties.new({Cell? bind, ContainerType container, TestCollective<
dynamic, Collective> test, MapObject? mapObject}) -
Factory constructor for basic configuration.
factory
- CollectiveProperties.fromRecord(Record record)
-
Creates properties from an existing record.
factory
Properties
- bind → Cell?
-
The cell this cell is bound to (if any)
no setterinherited
- container → dynamic
-
The underlying iterable container holding elements.
no setter
- containerType → ContainerType
-
The container type defining collection behavior.
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 setteroverride
- 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
-
synapses
→ Synapses<
Signal, Cell> -
The link manager for cell relationships
latefinalinherited
-
test
→ TestCollective<
dynamic, Collective> -
The test rules for validation
no setteroverride
Methods
-
deputy(
{required Cell bind, covariant TestCollective< dynamic, Collective> ? test, covariant MapObject? mapObject}) → CollectiveProperties<E> - Creates a delegated properties instance with overrides.
-
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<
E, I extends Iterable< (E> >{Cell? bind, ContainerType? container, MapObject? mapObject, CollectiveReceptor< dynamic, Signal, Signal> receptor = CollectiveReceptor.unchanged, TestCollective<dynamic, Collective> test = TestCollective.passed, Synapses<Signal, Cell> synapses = Synapses.enabled}) → CollectiveProperties<E> - Fully configurable factory for specialized collection types.