SetPassword constructor

SetPassword({
  1. Password? password,
  2. HashedPassword? hashedPassword,
  3. String? currentPassword,
  4. String? verificationCode,
})

Implementation

factory SetPassword({
  Password? password,
  HashedPassword? hashedPassword,
  $core.String? currentPassword,
  $core.String? verificationCode,
}) {
  final $result = create();
  if (password != null) {
    $result.password = password;
  }
  if (hashedPassword != null) {
    $result.hashedPassword = hashedPassword;
  }
  if (currentPassword != null) {
    $result.currentPassword = currentPassword;
  }
  if (verificationCode != null) {
    $result.verificationCode = verificationCode;
  }
  return $result;
}