storeReviewMinAccountDays static method

int storeReviewMinAccountDays()

Returns how old an account must be before the store review prompt can show (magic_starter.store_review.min_account_days).

Implementation

static int storeReviewMinAccountDays() {
  return Config.get<int>(
        'magic_starter.store_review.min_account_days',
        _defaultStoreReviewMinAccountDays,
      ) ??
      _defaultStoreReviewMinAccountDays;
}