StorageStepDiffSubscriber class final

Captures and persists storage diffs at authored step event boundaries.

Disabled diagnostics return before any storage access. A caller may flush the active step when execution fails before a matching stepFinished event, preserving evidence for partially completed steps.

Constructors

StorageStepDiffSubscriber({required bool enabled, required Future<void> recordDiff(int stepIndex, StorageStepSnapshot before), Future<StorageStepSnapshot?> capture()?})

Properties

enabled → bool
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

call(ExecutionEvent event) → Future<void>
flush(int stepIndex) → Future<void>
flushAll() → Future<void>
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