Suggester.fromXml constructor

Suggester.fromXml(
  1. XmlElement elem
)

Implementation

factory Suggester.fromXml(_s.XmlElement elem) {
  return Suggester(
    documentSuggesterOptions: DocumentSuggesterOptions.fromXml(
        _s.extractXmlChild(elem, 'DocumentSuggesterOptions')!),
    suggesterName: _s.extractXmlStringValue(elem, 'SuggesterName')!,
  );
}