init method

  1. @override
Future<void> init()
override

Implementation

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

  _box = await Hive.openBox<String>("aptabase_events");
}