FakeCapabilityHost class
A recording fake leaf (NOT the real CapabilityHost): records its mount /
unmount with its capabilityId, session, and path, and is a pure Idle leaf.
Constructors
- FakeCapabilityHost({required RecordingCapabilityRegistry registry, required StepMount mount, Key? key})
-
Creates the recording leaf bound to
registry+mount.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 - mount → StepMount
-
The step mount this leaf records.
final
- registry → RecordingCapabilityRegistry
-
The registry whose
eventslog this leaf appends to.final - 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< FakeCapabilityHost> - 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