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