copyWithWrapped method

WebApiModulesPluginsBoxedUpBoxedUpSignUpUser 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<WebApiModulesPluginsBoxedUpBoxedUpSignUpUserErp>? erpIntegration,
})

Implementation

WebApiModulesPluginsBoxedUpBoxedUpSignUpUser copyWithWrapped(
    {Wrapped<String>? firstName,
    Wrapped<String>? lastName,
    Wrapped<String>? email,
    Wrapped<String>? username,
    Wrapped<String>? password,
    Wrapped<String>? passwordConfirmation,
    Wrapped<WebApiModulesPluginsBoxedUpBoxedUpSignUpUserErp>?
        erpIntegration}) {
  return WebApiModulesPluginsBoxedUpBoxedUpSignUpUser(
      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));
}