@lHengl
You can also take a look at the other options provided by SysncSession
API:
-
state
returning the current state of the session. -
connectionState
returning the current state of the connection. -
connectionStateChanges
returns a Stream that emits connection state updates. -
pause()
pauses synchronization. -
resume()
resumes synchronization. -
waitForUpload/waitForDownload
returns a Future that completes when the session uploaded/downloaded all changes. -
getProgressStream
returns a Stream that emits progress updates.
For more information Session class - realm library - Dart API
Maybe some of them can help for your task.