getClient method
Retrieves a SocketClient instance by its ID.
The id
parameter is the unique ID of the client. Returns the SocketClient instance associated
with the ID, or null
if no such client exists.
Implementation
SocketClient? getClient(String id) {
return _clients[id];
}