attach method

  1. @override
void attach(
  1. ValidationController<K> controller
)
override

Attach connector to the validation controller

Implementation

@override
void attach(ValidationController<K> controller) {
  super.attach(controller);

  _subscription = stream.listen(_onValueChanged);

  if (validateOnAttach) {
    validateField();
  }
}