RemoteStore<T, Id> class abstract interface

RemoteStore abstracts access to the remote service for syncable models.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

batchDelete(List<Id> ids) Future<void>
batchUpsert(List<T> items) Future<void>
fetchSince(SyncScope scope, DateTime? since) Future<Delta<T, Id>>
getById(Id id) Future<T?>
getServerTime() Future<DateTime>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remoteSearch(SyncScope scope, QuerySpec spec) Future<List<T>>
Search within a scope using a normalized query spec. Implementations should apply soft-delete semantics and only support operators and fields that are natively available on the backend. Unsupported operators/fields must throw ArgumentError with a clear message.
toString() String
A string representation of this object.
inherited

Operators

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