DateArrayOptions.fromXml constructor

DateArrayOptions.fromXml(
  1. XmlElement elem
)

Implementation

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