GetIdentityVerificationAttributesResponse.fromXml constructor

GetIdentityVerificationAttributesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory GetIdentityVerificationAttributesResponse.fromXml(
    _s.XmlElement elem) {
  return GetIdentityVerificationAttributesResponse(
    verificationAttributes: Map.fromEntries(
      elem.getElement('VerificationAttributes')?.findElements('entry').map(
                (c) => MapEntry(
                  _s.extractXmlStringValue(c, 'key')!,
                  IdentityVerificationAttributes.fromXml(
                      _s.extractXmlChild(c, 'value')!),
                ),
              ) ??
          {},
    ),
  );
}