HostedZone.fromXml constructor
HostedZone.fromXml(
- XmlElement elem
Implementation
factory HostedZone.fromXml(_s.XmlElement elem) {
return HostedZone(
callerReference: _s.extractXmlStringValue(elem, 'CallerReference')!,
id: _s.extractXmlStringValue(elem, 'Id')!,
name: _s.extractXmlStringValue(elem, 'Name')!,
config: _s
.extractXmlChild(elem, 'Config')
?.let((e) => HostedZoneConfig.fromXml(e)),
linkedService: _s
.extractXmlChild(elem, 'LinkedService')
?.let((e) => LinkedService.fromXml(e)),
resourceRecordSetCount:
_s.extractXmlIntValue(elem, 'ResourceRecordSetCount'),
);
}