actionTypeFromJson function
Implementation
ChatwootActionType actionTypeFromJson(String? value) {
switch (value) {
case "update_presence":
return ChatwootActionType.update_presence;
case "subscribe":
return ChatwootActionType.subscribe;
default:
return ChatwootActionType.update_presence;
}
}