BeforeResetCallback typedef
Callback that indicates a Client Reset is about to happen.
The beforeResetRealm
holds the frozen Realm
just before the client reset happens.
The lifetime of beforeResetRealm
is tied to the callback lifetime, so don't store references to the Realm
or objects
obtained from it for use outside of the callback.
Implementation
typedef BeforeResetCallback = FutureOr<void> Function(Realm beforeResetRealm);