syncPurchases static method

Future<void> syncPurchases()

This method will send all the purchases to the RevenueCat backend.

WARNING: Call this when using your own implementation of in-app purchases.

This method should be called anytime a sync is needed, like after a successful purchase.

Implementation

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