discontinuedPackage automated_testing_framework_driver_websocket has been discontinued.
connected property
Returns whether the communicator is currently connected to the back end.
A communicator may be active but not connected either because the back
end is refusing connections or the connection is being (re-)established.
Implementation
bool get connected => _channel != null;