Substation class
A single substation's work root. Reads its ambient SubstationConfig (provided by the
enclosing SubstationScope) and builds the substation's WorkList.
It does NOT observe the work/snapshot axis — so a work tick never rebuilds
it (the derailment-invariant-1 guardrail: only the observing node, the
WorkList, marks dirty). A config change reaches it via the
InheritedSeed<SubstationConfig> dependency (dependencyChanged), the config
axis, which is exactly when it should rebuild.
- Mixed-in types
Constructors
- Substation({Key? key})
-
Creates a substation node, optionally
keyed.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Identity
Keyused by keyed reconciliation (Branch.updateChildren). Null means positional (unkeyed) identity.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBranch(
) → StatefulBranch -
Creates the mounted
Branchfor this configuration.inherited -
createState(
) → State< Substation> - Creates the mutable state for a branch of this seed.
-
debugFillProperties(
DiagnosticsBuilder properties) → void -
Adds this object's diagnostic properties to
properties.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringDeep(
) → String -
Returns a deterministic multiline description of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited