MutationResolver class abstract

GraphQL root mutation operations.

Constructors

MutationResolver.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acknowledgePurchaseAndroid(String purchaseToken) Future<bool>
Acknowledge a non-consumable purchase or subscription
beginRefundRequestIOS(String sku) Future<String?>
Initiate a refund request for a product (iOS 15+)
checkAlternativeBillingAvailabilityAndroid() Future<bool>
Check if alternative billing is available for this user/device Step 1 of alternative billing flow
clearTransactionIOS() Future<bool>
Clear pending transactions from the StoreKit payment queue
consumePurchaseAndroid(String purchaseToken) Future<bool>
Consume a purchase token so it can be repurchased
createAlternativeBillingTokenAndroid() Future<String?>
Create external transaction token for Google Play reporting Step 3 of alternative billing flow Must be called AFTER successful payment in your payment system Token must be reported to Google Play backend within 24 hours
deepLinkToSubscriptions({String? packageNameAndroid, String? skuAndroid}) Future<void>
Open the native subscription management surface
endConnection() Future<bool>
Close the platform billing connection
finishTransaction({required PurchaseInput purchase, bool? isConsumable}) Future<void>
Finish a transaction after validating receipts
initConnection({AlternativeBillingModeAndroid? alternativeBillingModeAndroid}) Future<bool>
Establish the platform billing connection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
presentCodeRedemptionSheetIOS() Future<bool>
Present the App Store code redemption sheet
requestPurchase(RequestPurchaseProps params) Future<RequestPurchaseResult?>
Initiate a purchase flow; rely on events for final state
requestPurchaseOnPromotedProductIOS() Future<bool>
Purchase the promoted product surfaced by the App Store
restorePurchases() Future<void>
Restore completed purchases across platforms
showAlternativeBillingDialogAndroid() Future<bool>
Show alternative billing information dialog to user Step 2 of alternative billing flow Must be called BEFORE processing payment in your payment system
showManageSubscriptionsIOS() Future<List<PurchaseIOS>>
Open subscription management UI and return changed purchases (iOS 15+)
syncIOS() Future<bool>
Force a StoreKit sync for transactions (iOS 15+)
toString() String
A string representation of this object.
inherited
validateReceipt({ReceiptValidationAndroidOptions? androidOptions, required String sku}) Future<ReceiptValidationResult>
Validate purchase receipts with the configured providers

Operators

operator ==(Object other) bool
The equality operator.
inherited