getClientInstanceKey static method
Create a chatwoot client instance key using the chatwoot client instance baseurl, inboxIdentifier and userIdentifier. Client instance keys are used to differentiate between client instances and their data (contact (ChatwootContact),conversation (ChatwootConversation) and messages (ChatwootMessage))
Create separate ChatwootClient instances with same baseUrl, inboxIdentifier, userIdentifier and persistence enabled will be regarded as same therefore use same contact and conversation.
Implementation
static String getClientInstanceKey(
{required String baseUrl,
required String inboxIdentifier,
String? userIdentifier}) {
return "$baseUrl$_keySeparator$userIdentifier$_keySeparator$inboxIdentifier";
}