syncPurchases static method
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() => _channel.invokeMethod('syncPurchases');