IdentityDkimAttributes.fromXml constructor

IdentityDkimAttributes.fromXml(
  1. XmlElement elem
)

Implementation

factory IdentityDkimAttributes.fromXml(_s.XmlElement elem) {
  return IdentityDkimAttributes(
    dkimEnabled: _s.extractXmlBoolValue(elem, 'DkimEnabled')!,
    dkimVerificationStatus: _s
        .extractXmlStringValue(elem, 'DkimVerificationStatus')!
        .toVerificationStatus(),
    dkimTokens: _s
        .extractXmlChild(elem, 'DkimTokens')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}