userBoxProvider top-level property

Provider<Box<ChatwootUser>> userBoxProvider
final

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

Implementation

final userBoxProvider = Provider<Box<ChatwootUser>>((ref) {
  return Hive.box<ChatwootUser>(ChatwootUserBoxNames.USERS.toString());
});