LatLonOptions.fromXml constructor

LatLonOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory LatLonOptions.fromXml(_s.XmlElement elem) {
  return LatLonOptions(
    defaultValue: _s.extractXmlStringValue(elem, 'DefaultValue'),
    facetEnabled: _s.extractXmlBoolValue(elem, 'FacetEnabled'),
    returnEnabled: _s.extractXmlBoolValue(elem, 'ReturnEnabled'),
    searchEnabled: _s.extractXmlBoolValue(elem, 'SearchEnabled'),
    sortEnabled: _s.extractXmlBoolValue(elem, 'SortEnabled'),
    sourceField: _s.extractXmlStringValue(elem, 'SourceField'),
  );
}