DependentValidator<T> constructor

DependentValidator<T>(
  1. FieldValidator<T> build(), {
  2. String? errorMessage,
})

When set, replaces the built validator's message.

Implementation

DependentValidator(this.build, {super.errorMessage});