removeConnector method

  1. @override
void removeConnector(
  1. ValidationConnector<K, Object?> connector
)
override

Remove ValidationConnector.

This method doesn't detach connector, which means that connector still will be thinking that he's attached to the controller

To properly remove connector use ValidationConnector.detach

Implementation

@override
void removeConnector(ValidationConnector<K, Object?> connector) {
  _connectors.remove(connector);

  if (_disposed) {
    return;
  }

  clearFieldError(connector.field);
}