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