updateBackgroundSyncCheckpoint method

  1. @override
Future<void> updateBackgroundSyncCheckpoint(
  1. String featureKey,
  2. 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;
}