tryValidate method
Validates the form field value
Implementation
@override
String? tryValidate() {
if (value != extra) {
if (customMessage == null) {
return buildMessage(ValidatorStrings.same, attribute, extra);
}
return customMessage;
}
return null;
}