copyWithWrapped method
Implementation
ConversationHistoryTranscriptToolResultCommonModel copyWithWrapped(
{Wrapped<dynamic>? type,
Wrapped<String>? requestId,
Wrapped<String>? toolName,
Wrapped<String>? resultValue,
Wrapped<bool>? isError,
Wrapped<bool>? toolHasBeenCalled,
Wrapped<double?>? toolLatencySecs}) {
return ConversationHistoryTranscriptToolResultCommonModel(
type: (type != null ? type.value : this.type),
requestId: (requestId != null ? requestId.value : this.requestId),
toolName: (toolName != null ? toolName.value : this.toolName),
resultValue:
(resultValue != null ? resultValue.value : this.resultValue),
isError: (isError != null ? isError.value : this.isError),
toolHasBeenCalled: (toolHasBeenCalled != null
? toolHasBeenCalled.value
: this.toolHasBeenCalled),
toolLatencySecs: (toolLatencySecs != null
? toolLatencySecs.value
: this.toolLatencySecs));
}