GetIdentityDkimAttributesResponse.fromXml constructor

GetIdentityDkimAttributesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory GetIdentityDkimAttributesResponse.fromXml(_s.XmlElement elem) {
  return GetIdentityDkimAttributesResponse(
    dkimAttributes: Map.fromEntries(
      elem.getElement('DkimAttributes')?.findElements('entry').map(
                (c) => MapEntry(
                  _s.extractXmlStringValue(c, 'key')!,
                  IdentityDkimAttributes.fromXml(
                      _s.extractXmlChild(c, 'value')!),
                ),
              ) ??
          {},
    ),
  );
}