copyWithWrapped method

ConversationInitiationClientDataInternal copyWithWrapped({
  1. Wrapped<ConversationConfigClientOverrideOutput?>? conversationConfigOverride,
  2. Wrapped<Object?>? customLlmExtraBody,
  3. Wrapped<Map<String, dynamic>?>? dynamicVariables,
})

Implementation

ConversationInitiationClientDataInternal copyWithWrapped(
    {Wrapped<ConversationConfigClientOverrideOutput?>?
        conversationConfigOverride,
    Wrapped<Object?>? customLlmExtraBody,
    Wrapped<Map<String, dynamic>?>? dynamicVariables}) {
  return ConversationInitiationClientDataInternal(
      conversationConfigOverride: (conversationConfigOverride != null
          ? conversationConfigOverride.value
          : this.conversationConfigOverride),
      customLlmExtraBody: (customLlmExtraBody != null
          ? customLlmExtraBody.value
          : this.customLlmExtraBody),
      dynamicVariables: (dynamicVariables != null
          ? dynamicVariables.value
          : this.dynamicVariables));
}