PipeConsumeResponse constructor

PipeConsumeResponse({
  1. String? roomId,
  2. String? producerPeerId,
  3. ProtoRtpParameters? rtpParameters,
  4. String? label,
  5. String? kind,
})

Implementation

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