Endpoint.fromXml constructor

Endpoint.fromXml(
  1. XmlElement elem
)

Implementation

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