turnOffRealtimeSync method
Implementation
Future<void> turnOffRealtimeSync() async {
_logger.d('[OfflineFirstRepository] Turning off real-time sync');
await _realtimeSyncSubscription?.cancel();
_realtimeSyncSubscription = null;
_syncThrottleTimer?.cancel();
_syncThrottleTimer = null;
await _syncCompletedSubscription?.cancel();
_syncCompletedSubscription = null;
_logger.d('[OfflineFirstRepository] Real-time sync turned off');
}