ExportHumanUser constructor

ExportHumanUser({
  1. String? userName,
  2. ExportHumanUser_Profile? profile,
  3. ExportHumanUser_Email? email,
  4. ExportHumanUser_Phone? phone,
  5. String? password,
  6. ExportHumanUser_HashedPassword? hashedPassword,
  7. bool? passwordChangeRequired,
  8. bool? requestPasswordlessRegistration,
  9. String? otpCode,
})

Implementation

factory ExportHumanUser({
  $core.String? userName,
  ExportHumanUser_Profile? profile,
  ExportHumanUser_Email? email,
  ExportHumanUser_Phone? phone,
  $core.String? password,
  ExportHumanUser_HashedPassword? hashedPassword,
  $core.bool? passwordChangeRequired,
  $core.bool? requestPasswordlessRegistration,
  $core.String? otpCode,
}) {
  final $result = create();
  if (userName != null) {
    $result.userName = userName;
  }
  if (profile != null) {
    $result.profile = profile;
  }
  if (email != null) {
    $result.email = email;
  }
  if (phone != null) {
    $result.phone = phone;
  }
  if (password != null) {
    $result.password = password;
  }
  if (hashedPassword != null) {
    $result.hashedPassword = hashedPassword;
  }
  if (passwordChangeRequired != null) {
    $result.passwordChangeRequired = passwordChangeRequired;
  }
  if (requestPasswordlessRegistration != null) {
    $result.requestPasswordlessRegistration = requestPasswordlessRegistration;
  }
  if (otpCode != null) {
    $result.otpCode = otpCode;
  }
  return $result;
}