Payload class

Messaging — Purge Queue — payload

Constructors

Payload({Vid? did, required Queue queue, Vid? peer, int? olderThanSeconds, bool? dryRun, Ext? ext})
const
Payload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

did → Vid?
The account whose queue to purge. Omitted = the requester's own account. A requester without administrative standing may name only itself.
final
dryRun → bool?
Report what would be purged and purge nothing. Default false.
final
ext → Ext?
Ecosystem-defined extension members per SPEC.md §4.5.1.
final
hashCode → int
The hash code for this object.
no setterinherited
olderThanSeconds → int?
Only messages queued at least this long.
final
peer → Vid?
Only messages exchanged with this counterparty: in a send queue, the recipient; in a receive queue, the sender.
final
queue → Queue
final
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
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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