DefaultPurchaseHandler constructor

DefaultPurchaseHandler({
  1. bool initialIsPurchaseInProgress = false,
  2. PurchaseState initialPurchaseState = PurchaseState.NOT_PURCHASED,
})

Implementation

DefaultPurchaseHandler(
    {this.initialIsPurchaseInProgress = false,
    this.initialPurchaseState = PurchaseState.NOT_PURCHASED}) {
  _isPendingPurchase = initialIsPurchaseInProgress;
  _purchaseState = initialPurchaseState;
}