copyWith method

WebhookToolApiSchemaConfigOutput copyWith({
  1. String? url,
  2. WebhookToolApiSchemaConfigOutputMethod? method,
  3. Map<String, dynamic>? pathParamsSchema,
  4. dynamic queryParamsSchema,
  5. dynamic requestBodySchema,
  6. Map<String, dynamic>? requestHeaders,
})

Implementation

WebhookToolApiSchemaConfigOutput copyWith(
    {String? url,
    enums.WebhookToolApiSchemaConfigOutputMethod? method,
    Map<String, dynamic>? pathParamsSchema,
    dynamic queryParamsSchema,
    dynamic requestBodySchema,
    Map<String, dynamic>? requestHeaders}) {
  return WebhookToolApiSchemaConfigOutput(
      url: url ?? this.url,
      method: method ?? this.method,
      pathParamsSchema: pathParamsSchema ?? this.pathParamsSchema,
      queryParamsSchema: queryParamsSchema ?? this.queryParamsSchema,
      requestBodySchema: requestBodySchema ?? this.requestBodySchema,
      requestHeaders: requestHeaders ?? this.requestHeaders);
}