transportExists method

Transport? transportExists(
  1. TransportType transportType
)

Can be used to check which direction of webRTC connection is currently active for the peer. @param transportType

Implementation

Transport? transportExists(TransportType transportType) {
  if (transportType == TransportType.recv) {
    return _recvTransport;
  }
  return _sendTransport;
}