validateWith<X> method
add validator to the current tree
Implementation
ValidatorOf<T, X> validateWith<X>(
FieldValidator<T, X> Function(FieldValidator<T, R>) callback) {
return ValidatorOf<T, X>._(value, callback(_validator));
}