OutboxHistoryEntry class
A compact completion ledger entry retained after active work is removed.
Constructors
- OutboxHistoryEntry({required OperationId operationId, required MutationOperationState state, required DateTime completedAt, IdempotencyKey? idempotencyKey, MutationKey? mutationKey, AuthScope? authScope, MutationIdentityLink? identity, Object? resultProjection})
-
Creates a history entry.
const
-
OutboxHistoryEntry.fromJson(Map<
String, Object?> json) -
Recreates a history entry from validated JSON.
factory
- OutboxHistoryEntry.validated({required OperationId operationId, required MutationOperationState state, required DateTime completedAt, IdempotencyKey? idempotencyKey, MutationKey? mutationKey, AuthScope? authScope, MutationIdentityLink? identity, Object? resultProjection})
-
Creates a history entry after validating and freezing its projection.
factory
Properties
- authScope → AuthScope?
-
Exact non-secret authentication scope that owned the operation.
final
- completedAt → DateTime
-
Completion or discard timestamp.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idempotencyKey → IdempotencyKey?
-
Stable retry and duplicate-prevention identity.
final
- identity → MutationIdentityLink?
-
Local-to-server identity retained after operation completion.
final
- mutationKey → MutationKey?
-
Logical mutation key that produced this retained result.
final
- operationId → OperationId
-
Completed operation identity.
final
- resultProjection → Object?
-
Optional JSON-safe projected result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MutationOperationState
-
Final state recorded in the completion ledger.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Serializes the history entry.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited