closeInteraction method
Implementation
void closeInteraction(String interactionId) {
if (socket == null || !socket!.connected) {
Logs.debug("Cannot close interaction - socket not connected");
return;
}
socket!.emit('event', {
"interactionId": interactionId,
"eventType": 'close-interaction',
"appId": config.appId
});
}