toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final defaultValue = this.defaultValue;
  final facetEnabled = this.facetEnabled;
  final resultEnabled = this.resultEnabled;
  final textProcessor = this.textProcessor;
  return {
    if (defaultValue != null) 'DefaultValue': defaultValue,
    if (facetEnabled != null) 'FacetEnabled': facetEnabled,
    if (resultEnabled != null) 'ResultEnabled': resultEnabled,
    if (textProcessor != null) 'TextProcessor': textProcessor,
  };
}