isOpen static method
Returns if an open store (i.e. opened before and not yet closed) was found
for the given directoryPath.
For Flutter apps, the default directoryPath can be obtained with
(await defaultStoreDirectory()).path from objectbox_flutter_libs
(or objectbox_sync_flutter_libs).
For Dart Native apps, pass null to use the defaultDirectoryPath.
Implementation
static bool isOpen(String? directoryPath) {
final path = _safeDirectoryPath(directoryPath);
return withNativeString(path, C.store_is_open);
}