contactBoxProvider top-level property

Provider<Box<ChatwootContact>> contactBoxProvider
final

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

Implementation

final contactBoxProvider = Provider<Box<ChatwootContact>>((ref) {
  return Hive.box<ChatwootContact>(ChatwootContactBoxNames.CONTACTS.toString());
});