exists static method
Checks whether a Realm
exists at path
.
Implementation
static Future<bool> exists(String path) async {
try {
final fileEntity = File(path);
return await fileEntity.exists();
} catch (e) {
throw RealmException("Error while checking if Realm exists at $path. Error: $e");
}
}