getCountUserClients method
Returns the number of clients associated with a specific user ID.
The userID
parameter is the ID of the user. Returns the count of client sessions associated
with the user.
Implementation
int getCountUserClients(String userID) {
return _users[userID]?.length ?? 0;
}