messageToClientInstanceBoxProvider top-level property

Provider<Box<String>> messageToClientInstanceBoxProvider
final

Provides hive box to store relations between ruut 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>(
      RuutMessagesBoxNames.MESSAGES_TO_CLIENT_INSTANCE_KEY.toString());
});