ChangePasswordRequest constructor

ChangePasswordRequest({
  1. String? oldPassword,
  2. String? newPassword,
})

Implementation

factory ChangePasswordRequest({
  $core.String? oldPassword,
  $core.String? newPassword,
}) {
  final $result = create();
  if (oldPassword != null) {
    $result.oldPassword = oldPassword;
  }
  if (newPassword != null) {
    $result.newPassword = newPassword;
  }
  return $result;
}