CanPurchasePremium constructor

const CanPurchasePremium({
  1. required StorePaymentPurpose purpose,
})

Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase

Implementation

const CanPurchasePremium({
  required this.purpose,
});