EffectReceipt<T> class

Transport completion and application effect are independent observations.

Constructors

EffectReceipt({required T before, required T after, required EffectDelivery delivery, required EffectObservation effect, required int observations, String? dispatchError, String? observationError})
Creates the evidence receipt.
const

Properties

after → T
Last successfully observed value.
final
before → T
Baseline observed before dispatch.
final
delivery → EffectDelivery
Whether dispatch completed, failed/expired, or was skipped.
final
dispatchError → String?
Delivery error or timeout; does not imply the effect failed.
final
effect → EffectObservation
Independent postcondition evidence.
final
hashCode → int
The hash code for this object.
no setterinherited
observationError → String?
Last unsuccessful observation diagnostic.
final
observations → int
Number of successful observations including the baseline.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verified → bool
True only when the postcondition was observed.
no setter

Methods

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