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+)
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
deepLinkToSubscriptions([DeepLinkOptions? options]) 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() 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
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(ReceiptValidationProps options) Future<ReceiptValidationResult>
Validate purchase receipts with the configured providers

Operators

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