Endpoint.fromXml constructor

Endpoint.fromXml(
  1. XmlElement elem
)

Implementation

factory Endpoint.fromXml(_s.XmlElement elem) {
  return Endpoint(
    address: _s.extractXmlStringValue(elem, 'Address'),
    hostedZoneId: _s.extractXmlStringValue(elem, 'HostedZoneId'),
    port: _s.extractXmlIntValue(elem, 'Port'),
  );
}