openDB static method

Future<void> openDB()

Implementation

static Future<void> openDB() async {
  await Hive.openBox<ChatwootUser>(ChatwootUserBoxNames.USERS.toString());
  await Hive.openBox<String>(
      ChatwootUserBoxNames.CLIENT_INSTANCE_TO_USER.toString());
}