ApiV1WebhooksPost201ResponseWebhook constructor

ApiV1WebhooksPost201ResponseWebhook({
  1. required String id,
  2. required String name,
  3. String? description,
  4. required String url,
  5. List<String> events = const [],
  6. required bool isActive,
  7. required DateTime createdAt,
  8. DateTime? updatedAt,
  9. required String secret,
})

Returns a new ApiV1WebhooksPost201ResponseWebhook instance.

Implementation

ApiV1WebhooksPost201ResponseWebhook({
  required this.id,
  required this.name,
  this.description,
  required this.url,
  this.events = const [],
  required this.isActive,
  required this.createdAt,
  this.updatedAt,
  required this.secret,
});