UpdatePermissionRequest constructor
UpdatePermissionRequest({
- String? peerId,
- String? roomId,
- String? role,
- 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;
}