TextOptions.fromXml constructor
TextOptions.fromXml(
- XmlElement elem
Implementation
factory TextOptions.fromXml(_s.XmlElement elem) {
return TextOptions(
analysisScheme: _s.extractXmlStringValue(elem, 'AnalysisScheme'),
defaultValue: _s.extractXmlStringValue(elem, 'DefaultValue'),
highlightEnabled: _s.extractXmlBoolValue(elem, 'HighlightEnabled'),
returnEnabled: _s.extractXmlBoolValue(elem, 'ReturnEnabled'),
sortEnabled: _s.extractXmlBoolValue(elem, 'SortEnabled'),
sourceField: _s.extractXmlStringValue(elem, 'SourceField'),
);
}