Open
Description
import 'package:path/path.dart' as p;
import 'package:path_provider/path_provider.dart';
import '../objectbox.g.dart';
class ObjectBox {
late final Store store;
ObjectBox._create(this.store) {
// Add any additional setup code, e.g. build queries.
}
static Future<ObjectBox> create() async {
final store = await openStore(
directory: p.join(
(await getApplicationDocumentsDirectory()).path, "test"));
return ObjectBox._create(store);
}
}
Do you have any plans to adapt the HarmonyOS platform?
[https://gitee.com/openharmony-sig/flutter_plus_plugins)](https://gitee.com/openharmony-sig/flutter_plus_plugins