actionTypeToJson function
Implementation
String actionTypeToJson(ChatwootActionType actionType) {
switch (actionType) {
case ChatwootActionType.conversation_typing_off:
return "conversation.typing_off";
case ChatwootActionType.conversation_typing_on:
return "conversation.typing_on";
case ChatwootActionType.update_presence:
return "update_presence";
case ChatwootActionType.subscribe:
return "subscribe";
}
}