copyWithWrapped method

WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse copyWithWrapped({
  1. Wrapped<String?>? userId,
  2. Wrapped<String?>? username,
  3. Wrapped<String?>? email,
  4. Wrapped<String?>? firstName,
  5. Wrapped<String?>? lastName,
  6. Wrapped<String?>? timezone,
  7. Wrapped<WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponseErpIntegration?>? erpIntegration,
  8. Wrapped<String?>? boxedupEndpoint,
})

Implementation

WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse copyWithWrapped(
    {Wrapped<String?>? userId,
    Wrapped<String?>? username,
    Wrapped<String?>? email,
    Wrapped<String?>? firstName,
    Wrapped<String?>? lastName,
    Wrapped<String?>? timezone,
    Wrapped<WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponseErpIntegration?>?
        erpIntegration,
    Wrapped<String?>? boxedupEndpoint}) {
  return WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse(
      userId: (userId != null ? userId.value : this.userId),
      username: (username != null ? username.value : this.username),
      email: (email != null ? email.value : this.email),
      firstName: (firstName != null ? firstName.value : this.firstName),
      lastName: (lastName != null ? lastName.value : this.lastName),
      timezone: (timezone != null ? timezone.value : this.timezone),
      erpIntegration: (erpIntegration != null
          ? erpIntegration.value
          : this.erpIntegration),
      boxedupEndpoint: (boxedupEndpoint != null
          ? boxedupEndpoint.value
          : this.boxedupEndpoint));
}