SyncPendingRequest class final

sync_pending: the open changes of remote, in commit order.

Inheritance

Constructors

SyncPendingRequest(String remote, {String? table, int? limit})
Lists open changes of remote, of table only when given, at most limit.
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
limit → int?
At most this many, when given.
final
op → String
The op of the request.
no setteroverride
remote → String
The remote.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String?
Only this table, when given.
final

Methods

decodeOutput(Object? payload) → Result<PendingChanges, DbError>
The output encoded in an ok payload of this request.
override
encodeOutput(PendingChanges 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