InsightRule.fromXml constructor
InsightRule.fromXml(
- XmlElement elem
Implementation
factory InsightRule.fromXml(_s.XmlElement elem) {
return InsightRule(
definition: _s.extractXmlStringValue(elem, 'Definition')!,
name: _s.extractXmlStringValue(elem, 'Name')!,
schema: _s.extractXmlStringValue(elem, 'Schema')!,
state: _s.extractXmlStringValue(elem, 'State')!,
);
}