conversationBoxProvider top-level property

Provider<Box<SolevatoConversation>> conversationBoxProvider
final

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

Implementation

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