setSessionData method
Set the session data This is useful to set the session data. It will set the session data for the user's session. It will also set the session data for the user's session.
Implementation
setSessionData(Map<String, String> sessionData) {
if (sessionData.isEmpty) return;
sessionData.forEach(
(key, value) => appendScript(
'window.\$crisp.push(["set", "session:data", ["$key", "$value"]]);'),
);
}