DeadLetterEntry class
Dead letter queue entry containing the failed envelope and metadata.
Constructors
Properties
- deadAt → DateTime
-
Timestamp when the task was dead-lettered.
final
- envelope → Envelope
-
Envelope that failed processing.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
meta
→ Map<
String, Object?> -
Additional metadata captured at failure time.
final
- reason → String?
-
Optional reason describing the failure.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
metaAs<
T> ({required PayloadCodec< T> codec}) → T -
Decodes the full metadata payload as a typed DTO with
codec. -
metaJson<
T> ({required T decode(Map< String, dynamic> payload), String? typeName}) → T - Decodes the full metadata payload as a typed DTO with a JSON decoder.
-
metaVersionedJson<
T> ({required int version, required T decode(Map< String, dynamic> payload, int version), int? defaultDecodeVersion, String? typeName}) → T - Decodes the full metadata payload as a typed DTO with a version-aware JSON decoder.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Serializes this entry to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited