PaymentSheetEvent constructor

const PaymentSheetEvent({
  1. required String flowId,
  2. required int sequence,
  3. required PaymentSheetEventType type,
  4. required DateTime occurredAt,
  5. CheckoutOrder? order,
  6. CheckoutAction? action,
  7. CheckoutFailure? failure,
  8. bool? complete,
  9. String? paymentMethod,
})

Creates one ordered Checkout lifecycle event.

Implementation

const PaymentSheetEvent({
  required this.flowId,
  required this.sequence,
  required this.type,
  required this.occurredAt,
  this.order,
  this.action,
  this.failure,
  this.complete,
  this.paymentMethod,
});