attach method
Attach connector to the validation controller
Implementation
@override
void attach(ValidationController<K> controller) {
super.attach(controller);
_subscription = stream.listen(_onValueChanged);
if (validateOnAttach) {
validateField();
}
}