InitialSyncHandler class abstract

--- InitialSyncHandler --- Contract for a feature-specific initial sync implementation. Handles downloading remote data for the first time and saving it locally.

Constructors

InitialSyncHandler()

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

fetchRemoteData({SyncCheckpoint? checkpoint, required int batchSize}) Future<SyncBatchResult>
Download remote data with checkpoint-based pagination batchSize controls how many items to fetch per page (required). Returns a batch and a nextCheckpoint if more pages are available
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveToLocal(List<SyncPayload<ServerItem>> remoteData) Future<ApplyResult>
Save downloaded remote data to local storage Returns success/failure with detailed errors
toString() String
A string representation of this object.
inherited

Operators

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