fromXml static method
Implementation
static WidgetModel? fromXml(WidgetModel parent, XmlElement node,
{Scope? scope, dynamic data}) {
// clone node?
// node = cloneNode(node, scope ?? parent.scope);
// exclude this element?
if (excludeFromTemplate(node, parent.scope)) return null;
// build the element model
return fromXmlNode(parent, node, scope, data);
}