copyWithWrapped method
Implementation
ConversationHistoryTranscriptToolCallCommonModel copyWithWrapped(
{Wrapped<dynamic>? type,
Wrapped<String>? requestId,
Wrapped<String>? toolName,
Wrapped<String>? paramsAsJson,
Wrapped<bool>? toolHasBeenCalled,
Wrapped<dynamic>? toolDetails}) {
return ConversationHistoryTranscriptToolCallCommonModel(
type: (type != null ? type.value : this.type),
requestId: (requestId != null ? requestId.value : this.requestId),
toolName: (toolName != null ? toolName.value : this.toolName),
paramsAsJson:
(paramsAsJson != null ? paramsAsJson.value : this.paramsAsJson),
toolHasBeenCalled: (toolHasBeenCalled != null
? toolHasBeenCalled.value
: this.toolHasBeenCalled),
toolDetails:
(toolDetails != null ? toolDetails.value : this.toolDetails));
}