ChangeRoleRequest constructor

ChangeRoleRequest({
  1. Authorization? oldAuthorization,
  2. 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;
}