fromXml static method

ColumnModel? fromXml(
  1. WidgetModel? parent,
  2. XmlElement xml
)
override

Implementation

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