openDB static method

Future<void> openDB()

Implementation

static Future<void> openDB() async {
  await Hive.openBox<ChatwootConversation>(
      ChatwootConversationBoxNames.CONVERSATIONS.toString());
  await Hive.openBox<String>(ChatwootConversationBoxNames
      .CLIENT_INSTANCE_TO_CONVERSATIONS
      .toString());
}