UsageChainFolder class final
The rebuildable fold (gh-1241): records are the source of truth, so the ledger is always recomputable from the chain — SIGKILL loses nothing (AC3), running twice yields byte-identical output (I6).
Constructors
- UsageChainFolder({UsageFolder folder = const UsageFolder()})
-
Creates a UsageChainFolder.
const
Properties
- folder → UsageFolder
-
The pure fold math.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
foldChain(
{required String sessionId, required Iterable< String> lines, UsageChainScanner scanner = const UsageChainScanner()}) → UsageLedger -
Folds the session chain's raw
linesinto a UsageLedger. -
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