CallGrants constructor

CallGrants({
  1. bool? canPublishAudio,
  2. bool? canPublishVideo,
  3. 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;
}