GeoLocationDetails.fromXml constructor

GeoLocationDetails.fromXml(
  1. XmlElement elem
)

Implementation

factory GeoLocationDetails.fromXml(_s.XmlElement elem) {
  return GeoLocationDetails(
    continentCode: _s.extractXmlStringValue(elem, 'ContinentCode'),
    continentName: _s.extractXmlStringValue(elem, 'ContinentName'),
    countryCode: _s.extractXmlStringValue(elem, 'CountryCode'),
    countryName: _s.extractXmlStringValue(elem, 'CountryName'),
    subdivisionCode: _s.extractXmlStringValue(elem, 'SubdivisionCode'),
    subdivisionName: _s.extractXmlStringValue(elem, 'SubdivisionName'),
  );
}