onAfterReset
Callback invoked once the Client Reset happens. It receives two Realm instances: a frozen one displaying the state before the reset and a regular one with the current state that can be used to recover objects from the reset.
Parameters
before
frozen TypedRealm realm before the reset.
after
MutableRealm realm after the reset.