static String? matchValidator(String? value, String? compareTo) { if (value != compareTo) { return 'Values do not match'; } return null; }