Response class

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

Constructors

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

Properties

ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
keys → List<KeyRecord>
The page of records, in the custodian's own order.
final
nextCursor → String?
Opaque continuation token for the next page; pass it back as the request's cursor. Absent on the last page. Its presence is what tells a key audit or rotation sweep it has not yet seen the whole set — a producer that stops while nextCursor is present has silently skipped every key past the page boundary.
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