CancelFlowResponsePayload constructor

CancelFlowResponsePayload({
  1. required String userId,
  2. required String productId,
  3. required String outcome,
  4. required bool offerShown,
  5. required bool offerAccepted,
  6. bool pauseShown = false,
  7. bool pauseAccepted = false,
  8. int? pauseDurationDays,
  9. required int lastStepSeen,
  10. required List<CancelFlowAnswerPayload> answers,
  11. int? variantId,
})

Implementation

CancelFlowResponsePayload({
  required this.userId,
  required this.productId,
  required this.outcome,
  required this.offerShown,
  required this.offerAccepted,
  this.pauseShown = false,
  this.pauseAccepted = false,
  this.pauseDurationDays,
  required this.lastStepSeen,
  required this.answers,
  this.variantId,
});