checkAppStore method
Checks a purchase StoreKit 2 returned: its signed transaction (the
jwsRepresentation, serverVerificationData in in_app_purchase).
Pass restored for a purchase the store gave back on Restore purchases
(PurchaseStatus.restored): an upgrade or unlock another account of
the app holds then moves to the signed-in one. A pack never moves; its
credits stay with the account that bought them. Without it, a purchase
another account holds is refused with purchaseHeldByAnother.
Implementation
Future<FFXPurchaseState> checkAppStore(
String signedTransaction, {
bool restored = false,
}) => _check({
'store': 'appStore',
'signedTransaction': signedTransaction,
if (restored) 'restored': true,
});