WebhookEndpoint constructor

const WebhookEndpoint({
  1. String? apiVersion,
  2. String? application,
  3. required DateTime created,
  4. String? description,
  5. required List<String> enabledEvents,
  6. required String id,
  7. required bool livemode,
  8. required Map<String, String> metadata,
  9. String? secret,
  10. required String status,
  11. required String url,
})

NotificationWebhookEndpoint

You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be notified about events that happen in your Stripe account or connected accounts. Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure)

Implementation

const WebhookEndpoint({
  this.apiVersion,
  this.application,
  required this.created,
  this.description,
  required this.enabledEvents,
  required this.id,
  required this.livemode,
  required this.metadata,
  this.secret,
  required this.status,
  required this.url,
});