deserialize method

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

Deserializes the FML template elements, attributes and children

Implementation

@override
void deserialize(XmlElement? xml) {
  if (xml == null) return;

  /// override of expand
  var expand = Xml.get(node: xml, tag: 'expand');
  if (expand == null) this.expand = false;

  // deserialize
  super.deserialize(xml);
}