WebhookEnvelope constructor

const WebhookEnvelope({
  1. required String id,
  2. String? eventId,
  3. required String event,
  4. String? createdOn,
  5. String? accountId,
  6. String? projectId,
  7. String? triggerId,
  8. dynamic data,
})

Implementation

const WebhookEnvelope({
  required this.id,
  String? eventId,
  required this.event,
  this.createdOn,
  this.accountId,
  this.projectId,
  this.triggerId,
  this.data,
}) : eventId = eventId ?? id;