initialize static method

Future<void> initialize()

Implementation

static Future<void> initialize() async {
  await PathHelper.createDirWaterbus();
  final String? path = await PathHelper.localStoreDirWaterbus;
  Hive.init(path);

  await _openBoxApp();
}