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