clientInstanceToUserBoxProvider top-level property

Provider<Box<String>> clientInstanceToUserBoxProvider
final

Provides hive box to store relations between chatwoot client instance and user object, which is used when persistence is enabled. Client instances are distinguished using baseurl and inboxIdentifier

Implementation

final clientInstanceToUserBoxProvider = Provider<Box<String>>((ref) {
  return Hive.box<String>(
      ChatwootUserBoxNames.CLIENT_INSTANCE_TO_USER.toString());
});