changes property
Stream<SyncObjectEvent>
get
changes
Stream of all sync events across all collections.
Listen to this stream to monitor when objects are synced to the server. Each event contains the collection name, object ID, and the Realm object instance.
Example:
realmSync.changes.listen((event) {
print('Synced ${event.collectionName}: ${event.id}');
// Access the actual object: event.object
});
Implementation
Stream<SyncObjectEvent> get changes => _controller.stream;