connected property

bool get connected

Check if we are currently connected with the socket.

Implementation

bool get connected => _socket?.connected ?? false;