WorkflowJournalSnapshot class final

Run identity and one journal record read for an optimistic state transition.

Constructors

WorkflowJournalSnapshot({required RunState run, WorkflowJournalEntry? entry})
Creates a read snapshot. A missing record has entry equal to null.
const

Properties

entry → WorkflowJournalEntry?
Current journal record, if any.
final
hashCode → int
The hash code for this object.
no setterinherited
run → RunState
Current run state. Writers must recheck its execution identity atomically.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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