genEl function
Implementation
String genEl(FIconObject el) {
String attr = el.attr.entries.map((e) => "${e.key}=\"${e.value}\"").join(" ");
String child = el.child.map((child) => genEl(child)).join(" ");
return "<${el.tag} $attr>$child</${el.tag}>";
}