UpdatePermissionRequest constructor

UpdatePermissionRequest({
  1. String? peerId,
  2. String? roomId,
  3. String? role,
  4. PermissionSchema? permission,
})

Implementation

factory UpdatePermissionRequest({
  $core.String? peerId,
  $core.String? roomId,
  $core.String? role,
  PermissionSchema? permission,
}) {
  final $result = create();
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (role != null) {
    $result.role = role;
  }
  if (permission != null) {
    $result.permission = permission;
  }
  return $result;
}