GooglePlayPurchaseDetails constructor

GooglePlayPurchaseDetails({
  1. String? purchaseID,
  2. required String productID,
  3. required PurchaseVerificationData verificationData,
  4. required String? transactionDate,
  5. required PurchaseWrapper billingClientPurchase,
  6. required PurchaseStatus status,
})

Creates a new Google Play specific purchase details object with the provided details.

Implementation

GooglePlayPurchaseDetails({
  super.purchaseID,
  required super.productID,
  required super.verificationData,
  required super.transactionDate,
  required this.billingClientPurchase,
  required super.status,
}) {
  pendingCompletePurchase = !billingClientPurchase.isAcknowledged;
}