ConnectPipeTransportRequest constructor

ConnectPipeTransportRequest({
  1. String? roomId,
  2. String? remoteIp,
  3. String? remoteMomoId,
  4. String? transportId,
  5. ProtoSrtpParameters? srtpParameters,
  6. ProtoTransportTuple? tuple,
})

Implementation

factory ConnectPipeTransportRequest({
  $core.String? roomId,
  $core.String? remoteIp,
  $core.String? remoteMomoId,
  $core.String? transportId,
  ProtoSrtpParameters? srtpParameters,
  ProtoTransportTuple? tuple,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (remoteIp != null) {
    $result.remoteIp = remoteIp;
  }
  if (remoteMomoId != null) {
    $result.remoteMomoId = remoteMomoId;
  }
  if (transportId != null) {
    $result.transportId = transportId;
  }
  if (srtpParameters != null) {
    $result.srtpParameters = srtpParameters;
  }
  if (tuple != null) {
    $result.tuple = tuple;
  }
  return $result;
}