PipeProduceRequest constructor

PipeProduceRequest({
  1. String? roomId,
  2. String? kind,
  3. String? remoteMomoId,
  4. String? producerId,
  5. String? producerPeerId,
  6. ProtoRtpParameters? rtpParameters,
  7. String? label,
})

Implementation

factory PipeProduceRequest({
  $core.String? roomId,
  $core.String? kind,
  $core.String? remoteMomoId,
  $core.String? producerId,
  $core.String? producerPeerId,
  $2.ProtoRtpParameters? rtpParameters,
  $core.String? label,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (kind != null) {
    $result.kind = kind;
  }
  if (remoteMomoId != null) {
    $result.remoteMomoId = remoteMomoId;
  }
  if (producerId != null) {
    $result.producerId = producerId;
  }
  if (producerPeerId != null) {
    $result.producerPeerId = producerPeerId;
  }
  if (rtpParameters != null) {
    $result.rtpParameters = rtpParameters;
  }
  if (label != null) {
    $result.label = label;
  }
  return $result;
}