getConnectionEvents static method
Get events for a specific connection
Implementation
static List<WebSocketEvent> getConnectionEvents(String connectionId) {
final connection = _connections.value[connectionId];
return connection != null
? List.unmodifiable(connection.events)
: [];
}