match static method
Implementation
static FormFieldValidator<String> match({
required String otherValue,
required String mismatchMessage,
}) =>
(String? value) {
if (value != otherValue) {
return mismatchMessage;
}
return null;
};