resetRealm method
Initiates the client reset process.
Returns true
if actions were run successfully, false
otherwise.
Implementation
bool resetRealm() {
if (_app == null) {
throw RealmException("This `ClientResetError` does not have an `Application` instance.");
}
if (originalFilePath == null) {
throw RealmException("Missing `originalFilePath`");
}
return realmCore.immediatelyRunFileActions(_app!, originalFilePath!);
}