toJson method
Implementation
Map<String, dynamic> toJson() {
final fieldToMatch = this.fieldToMatch;
final positionalConstraint = this.positionalConstraint;
final targetString = this.targetString;
final textTransformation = this.textTransformation;
return {
'FieldToMatch': fieldToMatch,
'PositionalConstraint': positionalConstraint.toValue(),
'TargetString': base64Encode(targetString),
'TextTransformation': textTransformation.toValue(),
};
}