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 sourceFields = this.sourceFields;
  return {
    if (analysisScheme != null) 'AnalysisScheme': analysisScheme,
    if (defaultValue != null) 'DefaultValue': defaultValue,
    if (highlightEnabled != null) 'HighlightEnabled': highlightEnabled,
    if (returnEnabled != null) 'ReturnEnabled': returnEnabled,
    if (sourceFields != null) 'SourceFields': sourceFields,
  };
}