messagesBoxProvider top-level property

Provider<Box<ChatwootMessage>> messagesBoxProvider
final

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

Implementation

final messagesBoxProvider = Provider<Box<ChatwootMessage>>((ref) {
  return Hive.box<ChatwootMessage>(
      ChatwootMessagesBoxNames.MESSAGES.toString());
});