fromXml static method
Implementation
static StackModel? fromXml(WidgetModel parent, XmlElement xml) {
StackModel? model;
try {
/////////////////
/* Build Model */
/////////////////
model = StackModel(parent, Xml.get(node: xml, tag: 'id'));
model.deserialize(xml);
} catch(e) {
Log().exception(e,
caller: 'stack.Model');
model = null;
}
return model;
}