QueryResolver class abstract

GraphQL root query operations.

Constructors

QueryResolver.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

currentEntitlementIOS(String sku) Future<PurchaseIOS?>
Get current StoreKit 2 entitlements (iOS 15+)
fetchProducts({required List<String> skus, ProductQueryType? type}) Future<FetchProductsResult>
Retrieve products or subscriptions from the store
getActiveSubscriptions([List<String>? subscriptionIds]) Future<List<ActiveSubscription>>
Get active subscriptions (filters by subscriptionIds when provided)
getAppTransactionIOS() Future<AppTransaction?>
Fetch the current app transaction (iOS 16+)
getAvailablePurchases({bool? alsoPublishToEventListenerIOS, bool? onlyIncludeActiveItemsIOS}) Future<List<Purchase>>
Get all available purchases for the current user
getPendingTransactionsIOS() Future<List<PurchaseIOS>>
Retrieve all pending transactions in the StoreKit queue
getPromotedProductIOS() Future<ProductIOS?>
Get the currently promoted product (iOS 11+)
getReceiptDataIOS() Future<String?>
Get base64-encoded receipt data for validation
getStorefront() Future<String>
Get the current storefront country code
getStorefrontIOS() Future<String>
Get the current App Store storefront country code
getTransactionJwsIOS(String sku) Future<String?>
Get the transaction JWS (StoreKit 2)
hasActiveSubscriptions([List<String>? subscriptionIds]) Future<bool>
Check whether the user has active subscriptions
isEligibleForIntroOfferIOS(String groupID) Future<bool>
Check introductory offer eligibility for a subscription group
isTransactionVerifiedIOS(String sku) Future<bool>
Verify a StoreKit 2 transaction signature
latestTransactionIOS(String sku) Future<PurchaseIOS?>
Get the latest transaction for a product using StoreKit 2
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscriptionStatusIOS(String sku) Future<List<SubscriptionStatusIOS>>
Get StoreKit 2 subscription status details (iOS 15+)
toString() String
A string representation of this object.
inherited
validateReceiptIOS({ReceiptValidationAndroidOptions? androidOptions, required String sku}) Future<ReceiptValidationResultIOS>
Validate a receipt for a specific product

Operators

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