deserialize method

  1. @override
void deserialize(
  1. XmlElement xml
)
override

Deserializes the FML template elements, attributes and children

Implementation

@override
void deserialize(XmlElement xml) {
  // deserialize
  super.deserialize(xml);

  // properties
  icon = Xml.get(node: xml, tag: 'icon');
  expandedicon = Xml.get(node: xml, tag: 'expandedicon');

  // Build Nodes and find the youngestGeneration
  _buildNodes();

  // build prototype
  _buildPrototype();
}