LiteralOptions.fromXml constructor

LiteralOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory LiteralOptions.fromXml(_s.XmlElement elem) {
  return LiteralOptions(
    defaultValue: _s.extractXmlStringValue(elem, 'DefaultValue'),
    facetEnabled: _s.extractXmlBoolValue(elem, 'FacetEnabled'),
    resultEnabled: _s.extractXmlBoolValue(elem, 'ResultEnabled'),
    searchEnabled: _s.extractXmlBoolValue(elem, 'SearchEnabled'),
  );
}