CallGrants constructor
CallGrants(
{ - bool? canPublishAudio,
- bool? canPublishVideo,
- bool? canScreenshare,
})
Implementation
factory CallGrants({
$core.bool? canPublishAudio,
$core.bool? canPublishVideo,
$core.bool? canScreenshare,
}) {
final $result = create();
if (canPublishAudio != null) {
$result.canPublishAudio = canPublishAudio;
}
if (canPublishVideo != null) {
$result.canPublishVideo = canPublishVideo;
}
if (canScreenshare != null) {
$result.canScreenshare = canScreenshare;
}
return $result;
}