ConsumeRequest constructor
ConsumeRequest({})
Implementation
factory ConsumeRequest({
$core.String? peerId,
$core.String? roomId,
$core.String? producerPeerId,
$core.String? producerId,
$core.String? momoId,
$core.String? label,
}) {
final $result = create();
if (peerId != null) {
$result.peerId = peerId;
}
if (roomId != null) {
$result.roomId = roomId;
}
if (producerPeerId != null) {
$result.producerPeerId = producerPeerId;
}
if (producerId != null) {
$result.producerId = producerId;
}
if (momoId != null) {
$result.momoId = momoId;
}
if (label != null) {
$result.label = label;
}
return $result;
}