invalidatePurchaserInfoCache static method

Future<void> invalidatePurchaserInfoCache()

Invalidates the cache for purchaser information.

Most apps will not need to use this method; invalidating the cache can leave your app in an invalid state. Refer to https://docs.revenuecat.com/docs/purchaserinfo#section-get-user-information for more information on using the cache properly.

This is useful for cases where purchaser information might have been updated outside of the app, like if a promotional subscription is granted through the RevenueCat dashboard.

Implementation

static Future<void> invalidatePurchaserInfoCache() async {
   return rc.Purchases.invalidatePurchaserInfoCache();
}