AliasTarget.fromXml constructor

AliasTarget.fromXml(
  1. XmlElement elem
)

Implementation

factory AliasTarget.fromXml(_s.XmlElement elem) {
  return AliasTarget(
    dNSName: _s.extractXmlStringValue(elem, 'DNSName')!,
    evaluateTargetHealth:
        _s.extractXmlBoolValue(elem, 'EvaluateTargetHealth')!,
    hostedZoneId: _s.extractXmlStringValue(elem, 'HostedZoneId')!,
  );
}