OutboxOutcome class final

Outcome of replaying one OutboxEntry.

Annotations
  • @immutable

Constructors

OutboxOutcome(OutboxEntry entry, {int? status, Object? body, Object? error})
Creates an outcome.
const

Properties

body → Object?
Response body of a successful replay.
final
entry → OutboxEntry
The replayed entry.
final
error → Object?
The error (e.g. ConflictException with both versions) when the replay was refused.
final
hashCode → int
The hash code for this object.
no setterinherited
ok → bool
Whether the server accepted the write.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int?
HTTP status of a successful replay.
final

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