ConsumeResponse constructor
ConsumeResponse({})
Implementation
factory ConsumeResponse({
$core.String? peerId,
$core.String? label,
$core.String? consumerId,
$core.String? producerId,
$core.String? producerPeerId,
$core.String? kind,
$2.ProtoRtpParameters? rtpParameters,
}) {
final $result = create();
if (peerId != null) {
$result.peerId = peerId;
}
if (label != null) {
$result.label = label;
}
if (consumerId != null) {
$result.consumerId = consumerId;
}
if (producerId != null) {
$result.producerId = producerId;
}
if (producerPeerId != null) {
$result.producerPeerId = producerPeerId;
}
if (kind != null) {
$result.kind = kind;
}
if (rtpParameters != null) {
$result.rtpParameters = rtpParameters;
}
return $result;
}