conversationBoxProvider top-level property

Provider<Box<DOOConversation>> conversationBoxProvider
final

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

Implementation

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