Failure constructor

Failure({
  1. String? orderId,
  2. String? purchaseId,
  3. String? productId,
  4. String? invoiceId,
  5. int? quantity,
  6. required FlutterPurchaseType purchaseType,
  7. required String errorMessage,
})

Implementation

Failure({
  this.orderId,
  this.purchaseId,
  this.productId,
  this.invoiceId,
  this.quantity,
  required this.purchaseType,
  required this.errorMessage,
});