copyWith method

WebhookDetails copyWith({
  1. List<WebhookDetailsEvents>? events,
  2. List<String>? fieldIdsFilter,
  3. List<String>? issuePropertyKeysFilter,
  4. String? jqlFilter,
})

Implementation

WebhookDetails copyWith(
    {List<WebhookDetailsEvents>? events,
    List<String>? fieldIdsFilter,
    List<String>? issuePropertyKeysFilter,
    String? jqlFilter}) {
  return WebhookDetails(
    events: events ?? this.events,
    fieldIdsFilter: fieldIdsFilter ?? this.fieldIdsFilter,
    issuePropertyKeysFilter:
        issuePropertyKeysFilter ?? this.issuePropertyKeysFilter,
    jqlFilter: jqlFilter ?? this.jqlFilter,
  );
}