copyWithWrapped method

ItemWebhookUpdateRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? accessToken,
  4. Wrapped<String?>? webhook,
})

Implementation

ItemWebhookUpdateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? accessToken,
    Wrapped<String?>? webhook}) {
  return ItemWebhookUpdateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      accessToken:
          (accessToken != null ? accessToken.value : this.accessToken),
      webhook: (webhook != null ? webhook.value : this.webhook));
}