messagesBoxProvider top-level property
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());
});