toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final analysisScheme = this.analysisScheme;
  final defaultValue = this.defaultValue;
  final highlightEnabled = this.highlightEnabled;
  final returnEnabled = this.returnEnabled;
  final sortEnabled = this.sortEnabled;
  final sourceField = this.sourceField;
  return {
    if (analysisScheme != null) 'AnalysisScheme': analysisScheme,
    if (defaultValue != null) 'DefaultValue': defaultValue,
    if (highlightEnabled != null) 'HighlightEnabled': highlightEnabled,
    if (returnEnabled != null) 'ReturnEnabled': returnEnabled,
    if (sortEnabled != null) 'SortEnabled': sortEnabled,
    if (sourceField != null) 'SourceField': sourceField,
  };
}