fromXml static method
Implementation
static Future<ConfigModel?> fromXml(WidgetModel? parent, XmlElement xml) async
{
ConfigModel? model;
try
{
model = ConfigModel();
model.deserialize(xml);
model.xml = xml.toXmlString();
}
catch(e)
{
Log().debug(e.toString());
model = null;
}
return model;
}