getAvailablePurchases abstract method

Future<List<Purchase>> getAvailablePurchases({
  1. bool? alsoPublishToEventListenerIOS,
  2. bool? includeSuspendedAndroid,
  3. bool? onlyIncludeActiveItemsIOS,
})

List active purchases for the current user. See: https://www.openiap.dev/docs/apis/get-available-purchases

Implementation

Future<List<Purchase>> getAvailablePurchases({
  bool? alsoPublishToEventListenerIOS,
  bool? includeSuspendedAndroid,
  bool? onlyIncludeActiveItemsIOS,
});