connectTo method
Connect this instance to the given SendPort.
Overrides the default outPort
of this messenger with the supplied one.
Calls _onEstablishedConnection
after port has been overridden.
Implementation
void connectTo(SendPort sendPort) {
_sendPortOverride = sendPort;
_onEstablishedConnection?.call();
_connectionEstablished = true;
}