messageToClientInstanceBoxProvider top-level property

Provider<Box<String>> messageToClientInstanceBoxProvider
final

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

Implementation

final messageToClientInstanceBoxProvider = Provider<Box<String>>((ref) {
  return Hive.box<String>(
      DOOMessagesBoxNames.MESSAGES_TO_CLIENT_INSTANCE_KEY.toString());
});