actionTypeToJson function
Implementation
String actionTypeToJson(ChatwootActionType actionType) {
switch (actionType) {
case ChatwootActionType.update_presence:
return "update_presence";
case ChatwootActionType.subscribe:
return "subscribe";
}
}