hasCredit method
Implementation
bool hasCredit() {
if (PurchaseHelper.isPremium) {
return true;
}
var has = credits > 0;
if (!has) {
PurchaseHelper.showPaywall(analyticKey: "no_credits_$creditKey");
}
return has;
}
bool hasCredit() {
if (PurchaseHelper.isPremium) {
return true;
}
var has = credits > 0;
if (!has) {
PurchaseHelper.showPaywall(analyticKey: "no_credits_$creditKey");
}
return has;
}