clientInstanceToContactBoxProvider top-level property

Provider<Box<String>> clientInstanceToContactBoxProvider
final

Provides hive box to store relations between chatwoot client instance and contact object, which is used when persistence is enabled. Client instances are distinguished using baseurl and inboxIdentifier

Implementation

final clientInstanceToContactBoxProvider = Provider<Box<String>>((ref) {
  return Hive.box<String>(
      ChatwootContactBoxNames.CLIENT_INSTANCE_TO_CONTACTS.toString());
});