WebhookEventAttributes constructor

WebhookEventAttributes({
  1. required String endpoint,
  2. required Object payload,
  3. required WebhookEventAttributesEventEnum event,
  4. required WebhookEventAttributesStatusEnum status,
  5. required int? lastResponseCode,
  6. required String? lastResponseBody,
  7. required DateTime created,
  8. required DateTime updated,
})

Returns a new WebhookEventAttributes instance.

Implementation

WebhookEventAttributes({
  required this.endpoint,
  required this.payload,
  required this.event,
  required this.status,
  required this.lastResponseCode,
  required this.lastResponseBody,
  required this.created,
  required this.updated,
});