PipeConsumeResponse constructor
PipeConsumeResponse({
- String? roomId,
- String? producerPeerId,
- ProtoRtpParameters? rtpParameters,
- String? label,
- 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;
}