PolicyDescription.fromXml constructor
PolicyDescription.fromXml(
- XmlElement elem
Implementation
factory PolicyDescription.fromXml(_s.XmlElement elem) {
return PolicyDescription(
policyAttributeDescriptions: _s
.extractXmlChild(elem, 'PolicyAttributeDescriptions')
?.let((elem) => elem
.findElements('member')
.map((c) => PolicyAttributeDescription.fromXml(c))
.toList()),
policyName: _s.extractXmlStringValue(elem, 'PolicyName'),
policyTypeName: _s.extractXmlStringValue(elem, 'PolicyTypeName'),
);
}