TextOptions.fromXml constructor

TextOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory TextOptions.fromXml(_s.XmlElement elem) {
  return TextOptions(
    defaultValue: _s.extractXmlStringValue(elem, 'DefaultValue'),
    facetEnabled: _s.extractXmlBoolValue(elem, 'FacetEnabled'),
    resultEnabled: _s.extractXmlBoolValue(elem, 'ResultEnabled'),
    textProcessor: _s.extractXmlStringValue(elem, 'TextProcessor'),
  );
}