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