WebhookEvent constructor

const WebhookEvent({
  1. WebhookCancellationReason? cancellationReason,
  2. String? currency,
  3. required WebhookEventEnvironment environment,
  4. double? expiresAt,
  5. required String id,
  6. required double occurredAt,
  7. required IapPlatform platform,
  8. double? priceAmountMicros,
  9. String? productId,
  10. required String projectId,
  11. String? purchaseToken,
  12. String? rawSignedPayload,
  13. required double receivedAt,
  14. double? renewsAt,
  15. required WebhookEventSource source,
  16. SubscriptionState? subscriptionState,
  17. required WebhookEventType type,
})

Implementation

const WebhookEvent({
  this.cancellationReason,
  this.currency,
  required this.environment,
  this.expiresAt,
  required this.id,
  required this.occurredAt,
  required this.platform,
  this.priceAmountMicros,
  this.productId,
  required this.projectId,
  this.purchaseToken,
  this.rawSignedPayload,
  required this.receivedAt,
  this.renewsAt,
  required this.source,
  this.subscriptionState,
  required this.type,
});