readyForHiveModule function
Implementation
@ReadyAfterMaterialApp()
Future<void> readyForHiveModule(BuildContext context) async {
await Hive.initFlutter();
hiveBox = await Hive.openBox('box');
}
@ReadyAfterMaterialApp()
Future<void> readyForHiveModule(BuildContext context) async {
await Hive.initFlutter();
hiveBox = await Hive.openBox('box');
}