GetIdentityNotificationAttributesResponse.fromXml constructor

GetIdentityNotificationAttributesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory GetIdentityNotificationAttributesResponse.fromXml(
    _s.XmlElement elem) {
  return GetIdentityNotificationAttributesResponse(
    notificationAttributes: Map.fromEntries(
      elem.getElement('NotificationAttributes')?.findElements('entry').map(
                (c) => MapEntry(
                  _s.extractXmlStringValue(c, 'key')!,
                  IdentityNotificationAttributes.fromXml(
                      _s.extractXmlChild(c, 'value')!),
                ),
              ) ??
          {},
    ),
  );
}