init static method

Future<void> init()

Implementation

static Future<void> init() async {
  await Hive.initFlutter();

  await Hive.openBox(queueBox);

  await Hive.openBox(cacheBox);
}