Webhook constructor

Webhook({
  1. required List<WebhookEvents> events,
  2. int? expirationDate,
  3. List<String>? fieldIdsFilter,
  4. required int id,
  5. List<String>? issuePropertyKeysFilter,
  6. required String jqlFilter,
})

Implementation

Webhook(
    {required this.events,
    this.expirationDate,
    List<String>? fieldIdsFilter,
    required this.id,
    List<String>? issuePropertyKeysFilter,
    required this.jqlFilter})
    : fieldIdsFilter = fieldIdsFilter ?? [],
      issuePropertyKeysFilter = issuePropertyKeysFilter ?? [];