TaskLedger class final

The parsed task ledger: the checklist a run finished with.

Constructors

TaskLedger({required List<TaskLedgerItem> items})
Creates a ledger.
const

Properties

allVerified → bool
Whether every item verified — the gate's green state.
no setter
failedCount → int
Items still unmet.
no setter
hashCode → int
The hash code for this object.
no setterinherited
items → List<TaskLedgerItem>
One entry per checklist requirement.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verifiedCount → int
Items verified against produced state (pass + fixed).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes for the task_ledger session record.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Object? json) → TaskLedger?
Tolerant parse: non-map payloads and requirement-less rows never throw; a payload with no surviving items parses to null.