LiteralArrayOptions.fromXml constructor

LiteralArrayOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory LiteralArrayOptions.fromXml(_s.XmlElement elem) {
  return LiteralArrayOptions(
    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'),
  );
}