RoomControls constructor
RoomControls({
- bool? roomLocked,
- bool? allowProduce,
- RoomControls_ProduceSources? allowProduceSources,
- bool? allowConsume,
- bool? allowSendData,
Implementation
factory RoomControls({
$core.bool? roomLocked,
$core.bool? allowProduce,
RoomControls_ProduceSources? allowProduceSources,
$core.bool? allowConsume,
$core.bool? allowSendData,
}) {
final $result = create();
if (roomLocked != null) {
$result.roomLocked = roomLocked;
}
if (allowProduce != null) {
$result.allowProduce = allowProduce;
}
if (allowProduceSources != null) {
$result.allowProduceSources = allowProduceSources;
}
if (allowConsume != null) {
$result.allowConsume = allowConsume;
}
if (allowSendData != null) {
$result.allowSendData = allowSendData;
}
return $result;
}