ProgressCallback typedef Realm
The signature of a callback that will be executed while the Realm is opened asynchronously with Realm.open.
This is the registered onProgressCallback when calling
open that receives progress notifications while the download is in progress.
- syncProgress - an object of SyncProgress that contains
typedef ProgressCallback = void Function(SyncProgress syncProgress);