resetRealm method
Initiates the client reset process.
Returns true
if actions were run successfully, false
otherwise.
Implementation
bool resetRealm() {
if (_config is! FlexibleSyncConfiguration) {
throw RealmException("The current configuration is not FlexibleSyncConfiguration.");
}
final flexibleConfig = _config as FlexibleSyncConfiguration;
return realmCore.immediatelyRunFileActions(flexibleConfig.user.app, flexibleConfig.path);
}