DVJobPayload class abstract

Type-erased queue storage marker. User job payloads remain strongly typed at dispatch and handler registration boundaries.

Constructors

DVJobPayload()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
payloadType → Type
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

of<TPayload>(TPayload value) → DVJobPayload
Wraps a decoded payload so a durable adapter can rebuild the envelope a handler expects. Handlers are routed by payloadType, so TPayload must be the type the handler was registered for.