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