copyWithWrapped method

WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser copyWithWrapped({
  1. Wrapped<String?>? firstName,
  2. Wrapped<String?>? lastName,
  3. Wrapped<String?>? email,
  4. Wrapped<String?>? username,
  5. Wrapped<String?>? password,
  6. Wrapped<String?>? passwordConfirmation,
  7. Wrapped<WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUserErp?>? erpIntegration,
})

Implementation

WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser copyWithWrapped({
  Wrapped<String?>? firstName,
  Wrapped<String?>? lastName,
  Wrapped<String?>? email,
  Wrapped<String?>? username,
  Wrapped<String?>? password,
  Wrapped<String?>? passwordConfirmation,
  Wrapped<WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUserErp?>?
  erpIntegration,
}) {
  return WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser(
    firstName: (firstName != null ? firstName.value : this.firstName),
    lastName: (lastName != null ? lastName.value : this.lastName),
    email: (email != null ? email.value : this.email),
    username: (username != null ? username.value : this.username),
    password: (password != null ? password.value : this.password),
    passwordConfirmation: (passwordConfirmation != null
        ? passwordConfirmation.value
        : this.passwordConfirmation),
    erpIntegration: (erpIntegration != null
        ? erpIntegration.value
        : this.erpIntegration),
  );
}