GeoLocation.fromXml constructor

GeoLocation.fromXml(
  1. XmlElement elem
)

Implementation

factory GeoLocation.fromXml(_s.XmlElement elem) {
  return GeoLocation(
    continentCode: _s.extractXmlStringValue(elem, 'ContinentCode'),
    countryCode: _s.extractXmlStringValue(elem, 'CountryCode'),
    subdivisionCode: _s.extractXmlStringValue(elem, 'SubdivisionCode'),
  );
}