ConnectTransportRequest constructor

ConnectTransportRequest({
  1. String? peerId,
  2. String? roomId,
  3. String? transportType,
  4. ProtoDtlsParameters? dtlsParameters,
})

Implementation

factory ConnectTransportRequest({
  $core.String? peerId,
  $core.String? roomId,
  $core.String? transportType,
  $1.ProtoDtlsParameters? dtlsParameters,
}) {
  final $result = create();
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (transportType != null) {
    $result.transportType = transportType;
  }
  if (dtlsParameters != null) {
    $result.dtlsParameters = dtlsParameters;
  }
  return $result;
}