validateMatch method

String? validateMatch(
  1. String value,
  2. String value2
)

Implementation

String? validateMatch(String value, String value2) {
  return value == value2 ? null : errorText;
}