toJson method
Implementation
Map<String, dynamic> toJson() {
final algorithmicStemming = this.algorithmicStemming;
final japaneseTokenizationDictionary = this.japaneseTokenizationDictionary;
final stemmingDictionary = this.stemmingDictionary;
final stopwords = this.stopwords;
final synonyms = this.synonyms;
return {
if (algorithmicStemming != null)
'AlgorithmicStemming': algorithmicStemming.toValue(),
if (japaneseTokenizationDictionary != null)
'JapaneseTokenizationDictionary': japaneseTokenizationDictionary,
if (stemmingDictionary != null) 'StemmingDictionary': stemmingDictionary,
if (stopwords != null) 'Stopwords': stopwords,
if (synonyms != null) 'Synonyms': synonyms,
};
}