ListCustomVerificationEmailTemplatesResponse.fromXml constructor

ListCustomVerificationEmailTemplatesResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListCustomVerificationEmailTemplatesResponse.fromXml(
    _s.XmlElement elem) {
  return ListCustomVerificationEmailTemplatesResponse(
    customVerificationEmailTemplates: _s
        .extractXmlChild(elem, 'CustomVerificationEmailTemplates')
        ?.let((elem) => elem
            .findElements('member')
            .map((c) => CustomVerificationEmailTemplate.fromXml(c))
            .toList()),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}