toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
"minLength": minLength,
"maxLength": maxLength,
"min": min,
"max": max,
"exactLength": exactLength,
"regexPattern": regexPattern,
"regexErrorMessage": regexErrorMessage,
"matchField": matchField,
"customErrorMessage": customErrorMessage,
"customValidatorFunction": customValidatorFunction,
"minDate": minDate,
"maxDate": maxDate,
"disableFutureDates": disableFutureDates,
"disablePastDates": disablePastDates,
};