IPRange.fromXml constructor
IPRange.fromXml(
- XmlElement elem
Implementation
factory IPRange.fromXml(_s.XmlElement elem) {
return IPRange(
cidrip: _s.extractXmlStringValue(elem, 'CIDRIP'),
status: _s.extractXmlStringValue(elem, 'Status'),
tags: _s.extractXmlChild(elem, 'Tags')?.let((elem) =>
elem.findElements('Tag').map((c) => Tag.fromXml(c)).toList()),
);
}