clientInstanceToConversationBoxProvider top-level property

Provider<Box<String>> clientInstanceToConversationBoxProvider
final

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

Implementation

final clientInstanceToConversationBoxProvider = Provider<Box<String>>((ref) {
  return Hive.box<String>(
      ChatwootConversationBoxNames.CLIENT_INSTANCE_TO_CONVERSATIONS.toString());
});