init method

Future<void> init()

Iniitalizes the fort

Implementation

Future<void> init() async {

  //Registers the storage system in flutter
  await Hive.initFlutter();

  //Opens the general box
  await storeBox<dynamic>(GENERAL_KEY);

  //Opens the general lazyBox
  lazyBox = await Hive.openLazyBox(LAZY_KEY);

}