isPremiumOrAbove static method

bool isPremiumOrAbove([
  1. SubscriptionLevel? level
])

True iff the given (or current) level is premium or higher. Premium is the baseline for beta features.

Implementation

static bool isPremiumOrAbove([SubscriptionLevel? level]) {
  final l = level ?? currentLevel();
  return l.index >= SubscriptionLevel.premium.index;
}