copyWithWrapped method

AgentWorkspaceOverridesOutput copyWithWrapped({
  1. Wrapped? conversationInitiationClientDataWebhook,
  2. Wrapped<ConvAIWebhooks?>? webhooks,
})

Implementation

AgentWorkspaceOverridesOutput copyWithWrapped(
    {Wrapped<dynamic>? conversationInitiationClientDataWebhook,
    Wrapped<ConvAIWebhooks?>? webhooks}) {
  return AgentWorkspaceOverridesOutput(
      conversationInitiationClientDataWebhook:
          (conversationInitiationClientDataWebhook != null
              ? conversationInitiationClientDataWebhook.value
              : this.conversationInitiationClientDataWebhook),
      webhooks: (webhooks != null ? webhooks.value : this.webhooks));
}