getState method
Returns the current state of a connection.
conn
The transport connection to query.
Returns the current ConnectionState of the connection, or null if the connection is not registered with the manager.
Implementation
@override
ConnectionState? getState(TransportConn conn) {
}