addPurchasedProduct method

void addPurchasedProduct(
  1. String key,
  2. PurchasedItem purchasedItem
)

Implementation

void addPurchasedProduct(String key, PurchasedItem purchasedItem) {
  _purchasedProducts[key] = purchasedItem;
}