SyncUpdate class

SyncUpdate

Constructors

SyncUpdate({required String mnemonic, required String didId, required String logContent, String? witnessContent, required int versionCount, required bool disabled, Ext? ext})
const
SyncUpdate.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

didId → String
The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID.
final
disabled → bool
Whether the source has disabled the slot. A replica MUST stop serving a disabled slot and MUST resume only on an update carrying false.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
logContent → String
The slot's complete did.jsonl — one log entry per line — not a delta.
final
mnemonic → String
The slot path on its hosting domain (e.g. alice, people/alice, or .well-known for a root DID).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
versionCount → int
Number of entries in logContent, as the source counts them. A replica MUST refuse an update whose logContent does not contain exactly this many entries.
final
witnessContent → String?
The slot's did-witness.json. ABSENT means the slot holds no witness proofs: the replica MUST drop any witness proofs it holds for the slot. Absence never means "unchanged".
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