ListPoliciesResponse.fromXml constructor

ListPoliciesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListPoliciesResponse.fromXml(_s.XmlElement elem) {
  return ListPoliciesResponse(
    isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated'),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    policies: _s.extractXmlChild(elem, 'Policies')?.let((elem) =>
        elem.findElements('member').map((c) => Policy.fromXml(c)).toList()),
  );
}