openDB static method

Future<void> openDB()

Implementation

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