toJson method
Implementation
Map<String, dynamic> toJson() {
final fieldToMatch = this.fieldToMatch;
final positionalConstraint = this.positionalConstraint;
final searchString = this.searchString;
final textTransformations = this.textTransformations;
return {
'FieldToMatch': fieldToMatch,
'PositionalConstraint': positionalConstraint.toValue(),
'SearchString': base64Encode(searchString),
'TextTransformations': textTransformations,
};
}