copyWith method

ClientToolConfigOutput copyWith({
  1. String? id,
  2. String? name,
  3. String? description,
  4. int? responseTimeoutSecs,
  5. String? type,
  6. dynamic parameters,
  7. bool? expectsResponse,
  8. DynamicVariablesConfig? dynamicVariables,
})

Implementation

ClientToolConfigOutput copyWith(
    {String? id,
    String? name,
    String? description,
    int? responseTimeoutSecs,
    String? type,
    dynamic parameters,
    bool? expectsResponse,
    DynamicVariablesConfig? dynamicVariables}) {
  return ClientToolConfigOutput(
      id: id ?? this.id,
      name: name ?? this.name,
      description: description ?? this.description,
      responseTimeoutSecs: responseTimeoutSecs ?? this.responseTimeoutSecs,
      type: type ?? this.type,
      parameters: parameters ?? this.parameters,
      expectsResponse: expectsResponse ?? this.expectsResponse,
      dynamicVariables: dynamicVariables ?? this.dynamicVariables);
}