FlutterBillingSubscription constructor

FlutterBillingSubscription({
  1. required String purchaseId,
  2. required String invoiceId,
  3. String? orderId,
  4. required FlutterPurchaseType purchaseType,
  5. required FlutterSubscriptionPurchaseStatus status,
  6. required String description,
  7. String? purchaseTime,
  8. required int price,
  9. required String amountLabel,
  10. required String currency,
  11. String? developerPayload,
  12. required bool sandbox,
  13. required String productId,
  14. required String expirationDate,
  15. required bool gracePeriodEnabled,
  16. required String subscriptionToken,
})

Implementation

FlutterBillingSubscription({
  required this.purchaseId,
  required this.invoiceId,
  this.orderId,
  required this.purchaseType,
  required this.status,
  required this.description,
  this.purchaseTime,
  required this.price,
  required this.amountLabel,
  required this.currency,
  this.developerPayload,
  required this.sandbox,
  required this.productId,
  required this.expirationDate,
  required this.gracePeriodEnabled,
  required this.subscriptionToken,
});