identifyUser static method
To identify an user in Freshchat with an unique identifier from your system and restore an user across devices/sessions/platforms based on an external identifier and restore id
Implementation
static void identifyUser({String? externalId, String? restoreId}) {
_channel.invokeMethod(
'identifyUser',
<String, String>{
'externalId': externalId ?? "",
'restoreId': restoreId ?? ""
},
);
}