GetIdentityPoliciesResponse.fromXml constructor

GetIdentityPoliciesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory GetIdentityPoliciesResponse.fromXml(_s.XmlElement elem) {
  return GetIdentityPoliciesResponse(
    policies: Map.fromEntries(
      elem.getElement('Policies')?.findElements('entry').map(
                (c) => MapEntry(
                  _s.extractXmlStringValue(c, 'key')!,
                  _s.extractXmlStringValue(c, 'value')!,
                ),
              ) ??
          {},
    ),
  );
}