unsubscribeFromRemoteChanges method
Unsubscribes from remote change events.
This method stops the manager from listening to remote change notifications, which can be useful for reducing network activity or preventing unnecessary processing during certain application states (e.g., when the app is in background or when you want to temporarily ignore remote updates).
Call resubscribeToRemoteChanges to re-enable remote change listening.
Note: This only affects remote change subscriptions and does not impact local change processing or synchronization operations.
Implementation
Future<void> unsubscribeFromRemoteChanges() async {
await remoteAdapter.unsubscribeFromChanges();
_isSubscribedToRemoteChanges = false;
}