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