match static method

Validator match(
  1. String? getValue(), {
  2. String? message,
})

Validates that the input matches another field.

FormRules.match(() => passwordController.text).build()

Implementation

static Validator match(String? Function() getValue, {String? message}) =>
    Validator._()..match(getValue, message: message);