restoreTransactions static method

Future<PurchaserInfo> restoreTransactions()

Restores a user's previous purchases and links their appUserIDs to any user's also using those purchases.

Returns a PurchaserInfo object, or throws a PlatformException if there was a problem restoring transactions.

Implementation

static Future<rc.PurchaserInfo> restoreTransactions() async {
  return rc.Purchases.restoreTransactions();
}