Payload class

Consumer requests an incremental delta of vault changes since a given seq baseline. The maintainer returns an ordered list of upsert/delete/acl/policy events, followed by a new seq baseline the consumer SHOULD persist for the next sync. Pairs with sync/event/0.1 server-push notifications: a live consumer subscribes to push events; on reconnect after offline, it calls vault/sync to catch up.

Constructors

Payload({String? contextId, int? sinceSeq, int? pageSize, Ext? ext})
const
Payload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

contextId → String?
Optional — narrow the delta to a single context. Omit for all contexts the consumer has VaultRead on.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
pageSize → int?
Maximum number of events to include in this response. Maintainer-defined default and ceiling.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sinceSeq → int?
The seq value the consumer last received. Omit on first sync (= full snapshot). When supplied, the maintainer returns events with seq > sinceSeq.
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