Payload class

Messaging — List Queues — payload

Constructors

Payload({Queue? queue, PayloadSort? sort, int? minCount, String? cursor, int? limit, Ext? ext})
const
Payload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

cursor → String?
Opaque continuation token from a prior page's nextCursor. Echoed verbatim; treated as unstructured by the requester.
final
ext → Ext?
Ecosystem-defined extension members per SPEC.md §4.5.1.
final
hashCode → int
The hash code for this object.
no setterinherited
limit → int?
Maximum accounts per page. The mediator chooses a default when omitted.
final
minCount → int?
Omit accounts whose ranked queue holds fewer messages than this. Default 1 (skip empty queues).
final
queue → Queue?
Which queue to rank by. Default receive.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sort → PayloadSort?
Ranking key, descending. Default count.
final

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