SetPassword constructor

SetPassword({
  1. String? password,
  2. String? hash,
  3. bool? changeRequired,
  4. String? currentPassword,
  5. String? verificationCode,
})

Implementation

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