existsSync static method
Synchronously checks whether a Realm
exists at path
Implementation
static bool existsSync(String path) {
try {
final fileEntity = File(path);
return fileEntity.existsSync();
} catch (e) {
throw RealmException("Error while checking if Realm exists at $path. Error: $e");
}
}