conversationBoxProvider top-level property

Provider<Box<RuutConversation>> conversationBoxProvider
final

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

Implementation

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