ReplayEventResult class

Result of replaying a single event.

Constructors

ReplayEventResult({required String eventId, required String eventType, required bool success, String? error})
const
ReplayEventResult.failed(OpsEvent event, String error)
Create a failure result.
factory
ReplayEventResult.simulated(OpsEvent event)
Create a simulated (dry-run) result.
factory
ReplayEventResult.successful(OpsEvent event)
Create a success result.
factory

Properties

error → String?
Error message if the replay failed.
final
eventId → String
Event ID that was replayed.
final
eventType → String
Event type of the replayed event.
final
hashCode → int
The hash code for this object.
no setterinherited
isFailed → bool
Whether this result represents a failed replay.
no setter
isSuccess → bool
Whether this result represents a successful replay.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
Whether the replay succeeded.
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