ChangeRoleRequest constructor
ChangeRoleRequest({
- Authorization? oldAuthorization,
- Authorization? newAuthorization,
Implementation
factory ChangeRoleRequest({
Authorization? oldAuthorization,
Authorization? newAuthorization,
}) {
final $result = create();
if (oldAuthorization != null) {
$result.oldAuthorization = oldAuthorization;
}
if (newAuthorization != null) {
$result.newAuthorization = newAuthorization;
}
return $result;
}