restorePurchases method

Future<CustomerInfo> restorePurchases()

Restore previous purchases on a new device. Required by Apple guidelines for any app that sells subscriptions.

Implementation

Future<CustomerInfo> restorePurchases() async {
  _requireConfigured();
  return _purchases.restorePurchases();
}