getWebSocketIdsOfTheRoom method

List<String> getWebSocketIdsOfTheRoom(
  1. String roomId
)

get list of socket id from the room this is used when we want to emit message to specific room

Implementation

List<String> getWebSocketIdsOfTheRoom(String roomId) {
  return _rooms[roomId] ?? <String>[];
}