DlqEntrySnapshot class

Represents a single entry captured in the dead-letter queue.

Constructors

DlqEntrySnapshot({required String queue, required String taskId, required String reason, required DateTime deadAt})
Creates a snapshot for the failed task taskId and reason.
DlqEntrySnapshot.fromJson(Map<String, Object?> json)
Reconstructs a snapshot from JSON json.
factory

Properties

deadAt → DateTime
Timestamp when the task was moved to the dead-letter queue.
final
hashCode → int
The hash code for this object.
no setterinherited
queue → String
Queue that owns the dead-lettered task.
final
reason → String
Failure reason reported for the task.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taskId → String
Unique identifier for the failed task.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object>
Serializes this snapshot into a JSON-compatible map.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited