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;
}