deserialize method
Deserializes the FML template elements, attributes and children
Implementation
@override
void deserialize(XmlElement xml) {
// deserialize
super.deserialize(xml);
// properties
label = Xml.get(node: xml, tag: 'label');
label ??= Xml.get(node: xml, tag: 'text'); // backwards compatibility
label ??= Xml.get(node: xml, tag: 'value'); // backwards compatibility
backgroundcolor = Xml.get(node: xml, tag: 'backgroundcolor');
}