connectValidator method
Connect validator to the Stream object
Implementation
ValidationConnector<K, I> connectValidator({
required K field,
required Validator<I> validator,
bool clearOnChange = true,
bool validateOnChange = false,
bool validateOnAttach = false,
}) =>
StreamValidationConnector<K, I>(
field: field,
stream: this,
validator: validator,
clearOnChange: clearOnChange,
validateOnChange: validateOnChange,
validateOnAttach: validateOnAttach,
);