ProduceRequest constructor
ProduceRequest({})
Implementation
factory ProduceRequest({
$core.String? peerId,
$core.String? roomId,
$core.String? kind,
$core.bool? paused,
$core.String? label,
$2.ProtoRtpParameters? rtpParameters,
}) {
final $result = create();
if (peerId != null) {
$result.peerId = peerId;
}
if (roomId != null) {
$result.roomId = roomId;
}
if (kind != null) {
$result.kind = kind;
}
if (paused != null) {
$result.paused = paused;
}
if (label != null) {
$result.label = label;
}
if (rtpParameters != null) {
$result.rtpParameters = rtpParameters;
}
return $result;
}