conversationBoxProvider top-level property

Provider<Box<ChatwootConversation>> conversationBoxProvider
final

Provides hive box for ChatwootConversation object, which is used when persistence is enabled

Implementation

final conversationBoxProvider = Provider<Box<ChatwootConversation>>((ref) {
  return Hive.box<ChatwootConversation>(
      ChatwootConversationBoxNames.CONVERSATIONS.toString());
});