SyncStateRequest class final

sync_state: the sync state of the row key of table; null when the row does not exist and the engine holds no record of it.

Inheritance

Constructors

SyncStateRequest(String table, Object key)
The state of key in table.
const

Properties

fields → Map<String, Object?>
The fields of the request besides v and op.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
key → Object
The primary key.
final
op → String
The op of the request.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
The table.
final

Methods

decodeOutput(Object? payload) → Result<EntitySyncState?, DbError>
The output encoded in an ok payload of this request.
override
encodeOutput(EntitySyncState? output) → Map<String, Object?>
The ok payload of output, for engines written in Dart.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The protocol form: {"v": 1, "op": ..., ...fields}.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited