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
TypedRealm frozen realm before the reset.
after
MutableRealm a realm after the reset.