DoubleArrayOptions.fromXml constructor

DoubleArrayOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory DoubleArrayOptions.fromXml(_s.XmlElement elem) {
  return DoubleArrayOptions(
    defaultValue: _s.extractXmlDoubleValue(elem, 'DefaultValue'),
    facetEnabled: _s.extractXmlBoolValue(elem, 'FacetEnabled'),
    returnEnabled: _s.extractXmlBoolValue(elem, 'ReturnEnabled'),
    searchEnabled: _s.extractXmlBoolValue(elem, 'SearchEnabled'),
    sourceFields: _s.extractXmlStringValue(elem, 'SourceFields'),
  );
}