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