detach method

  1. @override
void detach()
override

Detach connector from the validation controller

Implementation

@override
void detach() {
  if (_controller == null) {
    throw UnsupportedError('Validator not attached');
  }

  _controller!.removeConnector(this);
  _controller = null;
}