openDB static method

Future<void> openDB()

Implementation

static Future<void> openDB() async {
  await Hive.openBox<DOOMessage>(DOOMessagesBoxNames.MESSAGES.toString());
  await Hive.openBox<String>(
      DOOMessagesBoxNames.MESSAGES_TO_CLIENT_INSTANCE_KEY.toString());
}