copyWithWrapped method
Implementation
WebApiModulesUtilitiesAIAssistantUtilityChatHistoryItem copyWithWrapped({
Wrapped<String?>? chatId,
Wrapped<String?>? title,
Wrapped<String?>? chatData,
Wrapped<DateTime?>? createdAt,
Wrapped<DateTime?>? lastModified,
}) {
return WebApiModulesUtilitiesAIAssistantUtilityChatHistoryItem(
chatId: (chatId != null ? chatId.value : this.chatId),
title: (title != null ? title.value : this.title),
chatData: (chatData != null ? chatData.value : this.chatData),
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
lastModified: (lastModified != null
? lastModified.value
: this.lastModified),
);
}