Response class

The success response to a messaging/queue/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/queue/list/0.1#response.

Constructors

Response({required List<QueueSummary> queues, required String snapshotAt, bool? truncated, String? nextCursor, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

ext → Ext?
Ecosystem-defined extension members per SPEC.md §4.5.1.
final
hashCode → int
The hash code for this object.
no setterinherited
nextCursor → String?
Opaque continuation token. Present only when further items remain beyond this page; omitted on the final page.
final
queues → List<QueueSummary>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshotAt → String
When the ranking was computed. A mediator MAY serve the ranking from a periodic survey rather than a live scan.
final
truncated → bool?
The ranking did not cover every account.
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