connected property

bool get connected

Implementation

bool get connected => _connected;
set connected (bool isConnected)

Implementation

set connected(bool isConnected) {
  _connected = isConnected;
  if (isConnected) _handleOnConnect();
}