copyWith method

WebhookToolConfigInput copyWith({
  1. String? id,
  2. String? name,
  3. String? description,
  4. int? responseTimeoutSecs,
  5. String? type,
  6. WebhookToolApiSchemaConfigInput? apiSchema,
  7. DynamicVariablesConfig? dynamicVariables,
})

Implementation

WebhookToolConfigInput copyWith(
    {String? id,
    String? name,
    String? description,
    int? responseTimeoutSecs,
    String? type,
    WebhookToolApiSchemaConfigInput? apiSchema,
    DynamicVariablesConfig? dynamicVariables}) {
  return WebhookToolConfigInput(
      id: id ?? this.id,
      name: name ?? this.name,
      description: description ?? this.description,
      responseTimeoutSecs: responseTimeoutSecs ?? this.responseTimeoutSecs,
      type: type ?? this.type,
      apiSchema: apiSchema ?? this.apiSchema,
      dynamicVariables: dynamicVariables ?? this.dynamicVariables);
}