hasCredit method

bool hasCredit()

Implementation

bool hasCredit() {
  if (PurchaseHelper.isPremium) return true;
  if (credits <= 0) {
    PurchaseHelper.showPaywall(analyticKey: creditKey);
    return false;
  }
  return true;
}