TissueListNucleusBase<E, C extends TissueList<E> > class
abstract
A foundational base class for implementing TissueListNucleus.
TissueListNucleusBase provides the core state management and configuration logic used by TissueList and its variants. It acts as the bridge between the high‑level TissueListNucleus interface and the internal TissueNucleusBase logic.
When to use
Only if you are building a custom list type that needs to override the default nucleus behaviour. For standard use, the provided factories are sufficient.
You never extend this class directly. It is the base for the internal
nucleus implementations (_TissueListNucleus). Your interaction with
list nuclei is through the factories on TissueListNucleus (like
TissueListNucleus.create).
How it works
- It extends TissueNucleusBase to inherit the generic tissue configuration engine (receptor, testRule, context, synapses).
- It specialises the storage type to List<E> and forces the container
strategy to either Container.growableTrue or Container.growableFalse
based on the
growableflag. - It implements the containerType resolution by walking up the
principalchain, defaulting to Container.growableTrue. - It provides the
clonegetter to create an independent copy of the nucleus with a fresh lock and synapses, essential for creating new list instances from a template.
Parameters (constructor):
- bind: Optional upstream cell.
- context: Execution environment (default: Context.system).
- receptor: Mutation processor (default: pass‑through).
- testRule: Validation gatekeeper (default: allow all).
- synapses: Propagation configuration (default: enabled).
growable: Whether the list can change size (default: true).forceLock: Iftrue, shares the principal's lock.- user: Optional metadata.
Returns:
A nucleus instance that governs a reactive list.
- Inheritance
-
- Object
- NucleusBase
- TissueNucleusBase<
E, List< E> , C> - TissueListNucleusBase
- Implemented types
Constructors
-
TissueListNucleusBase({Cell? bind, Context context = Context.system, TissueReceptor<
E, C> receptor = TissueReceptor.passThrough, TestTissue<E, C> testRule = TestTissue.allowAll, Synapses<Pulse, Cell> synapses = Synapses.enabled, bool growable = true, EphemeralPolicy<Cell> ? ephemeralPolicy, bool forceLock = false, Record? user, TissueNucleusBase<E, List< ? principal})E> , C> - Primary Blueprint Constructor – Defines the immutable behaviour and storage strategy for a reactive list.
- TissueListNucleusBase.fromRecord(dynamic record)
-
Low‑level Record Constructor – instantiates a nucleus from a
pre‑packed property record.
const
Properties
- bind → Cell?
-
The upstream Cell dependency that serves as the primary Ingress Source
for this node's reactive logic.
no setterinherited
- cell → Cell
-
Returns the live Cell instance that this nucleus is bound to.
no setterinherited
-
clone
→ TissueListNucleus<
E> -
Creates an independent, decoupled clone of the current TissueListNucleus
template.
no setterinherited
-
container
→ TissueContainer<
E, List< E> > -
The TissueContainer responsible for managing the physical storage,
low‑level data access, and structural strategy for this reactive tissue.
no setterinherited
- containerType → Container
-
The physical storage strategy (growable or fixed) used by this list.
no setteroverride
- context → Context
-
The operational Context defining the forensic identity, administrative
authority, and causal lineage of this specific Cell handle.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The persisted identity of the cell this nucleus powers. Resolved as
follows:
no setterinherited
- inheritable → InheritableHandle
-
Retrieves the optimized Logic Inheritance Handle containing the
shared behavioral configuration for this Nucleus.
no setterinherited
- isActivated → bool
-
Indicates whether this nucleus has been bound to a live Cell.
no setterinherited
- isGoverned → bool
-
Indicates whether this node is subject to active Administrative Oversight
or specialized Lifecycle Governance.
no setterinherited
- isInvalidated → bool
-
Indicates whether this node has reached the end of its Functional Lifecycle
and is no longer capable of processing pulses or maintaining state.
no setterinherited
- lock → Lock?
-
The synchronization primitive used to ensure thread-safe and atomic
operations across the reactive Cell associated with this Nucleus.
no setterinherited
-
principal
→ TissueListNucleusBase<
E, C> ? -
Retrieves the hierarchical principal configuration of this list's properties.
no setteroverride
-
receptor
→ TissueReceptor<
E, C> -
The TissueReceptor responsible for processing mutation signals and
orchestrating state updates for the reactive collection.
no setterinherited
- record → dynamic
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
synapses
→ Synapses<
Pulse, Cell> -
The connectivity manager responsible for tracking and notifying downstream
observers of this
Cell.no setterinherited -
testRule
→ TestTissue<
E, C> -
The TestTissue validation logic used to guard the integrity and
state consistency of the reactive tissue.
no setterinherited
- timestamp → DateTime
-
The Temporal Origin and synthesis record of this Nucleus instance.
no setterinherited
- user → Record?
-
Retrieves the optional Record containing developer-defined metadata or
custom property extensions for the associated Cell.
no setterinherited
Methods
-
activate(
covariant Cell cell) → bool -
Activates this nucleus by binding it to a live Cell instance.
inherited
-
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