copyWithWrapped method
Implementation
ClientToolConfigOutput copyWithWrapped(
{Wrapped<String?>? id,
Wrapped<String>? name,
Wrapped<String>? description,
Wrapped<int?>? responseTimeoutSecs,
Wrapped<String?>? type,
Wrapped<dynamic>? parameters,
Wrapped<bool?>? expectsResponse,
Wrapped<DynamicVariablesConfig?>? dynamicVariables}) {
return ClientToolConfigOutput(
id: (id != null ? id.value : this.id),
name: (name != null ? name.value : this.name),
description:
(description != null ? description.value : this.description),
responseTimeoutSecs: (responseTimeoutSecs != null
? responseTimeoutSecs.value
: this.responseTimeoutSecs),
type: (type != null ? type.value : this.type),
parameters: (parameters != null ? parameters.value : this.parameters),
expectsResponse: (expectsResponse != null
? expectsResponse.value
: this.expectsResponse),
dynamicVariables: (dynamicVariables != null
? dynamicVariables.value
: this.dynamicVariables));
}