openDB static method

Future<void> openDB()

Implementation

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