toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourceField = this.sourceField;
  final fuzzyMatching = this.fuzzyMatching;
  final sortExpression = this.sortExpression;
  return {
    'SourceField': sourceField,
    if (fuzzyMatching != null) 'FuzzyMatching': fuzzyMatching.toValue(),
    if (sortExpression != null) 'SortExpression': sortExpression,
  };
}