ListPolicyVersionsResponse.fromXml constructor
ListPolicyVersionsResponse.fromXml(
- XmlElement elem
Implementation
factory ListPolicyVersionsResponse.fromXml(_s.XmlElement elem) {
return ListPolicyVersionsResponse(
isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated'),
marker: _s.extractXmlStringValue(elem, 'Marker'),
versions: _s.extractXmlChild(elem, 'Versions')?.let((elem) => elem
.findElements('member')
.map((c) => PolicyVersion.fromXml(c))
.toList()),
);
}