openDB static method

Future<void> openDB()

Implementation

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