deserialize method
Deserializes the FML template elements, attributes and children
Implementation
@override
void deserialize(XmlElement? xml)
{
if (xml == null) return;
// deserialize
super.deserialize(xml);
// properties
type = Xml.get(node: xml, tag: 'type');
}