PolicyTypeDescription.fromXml constructor
PolicyTypeDescription.fromXml(
- XmlElement elem
Implementation
factory PolicyTypeDescription.fromXml(_s.XmlElement elem) {
return PolicyTypeDescription(
description: _s.extractXmlStringValue(elem, 'Description'),
policyAttributeTypeDescriptions: _s
.extractXmlChild(elem, 'PolicyAttributeTypeDescriptions')
?.let((elem) => elem
.findElements('member')
.map((c) => PolicyAttributeTypeDescription.fromXml(c))
.toList()),
policyTypeName: _s.extractXmlStringValue(elem, 'PolicyTypeName'),
);
}