updateBackgroundSyncCheckpoint method
Future<void>
updateBackgroundSyncCheckpoint(
- String featureKey,
- SyncCheckpoint? checkpoint
override
Updates the last checkpoint from a successful background sync for featureKey.
Stores (lastUpdatedAt, lastItemId) for deterministic pagination.
Implementation
@override
Future<void> updateBackgroundSyncCheckpoint(
String featureKey,
SyncCheckpoint? checkpoint,
) async {
_backgroundCheckpoints[featureKey] = checkpoint;
}