Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Static Methods
-
allProducts()
→ Future<List<PLYProduct>>
-
-
close()
→ Future<void>
-
-
closePaywall()
→ Future<void>
-
-
displaySubscriptionCancellationInstruction()
→ Future<void>
-
-
handle(String deepLink)
→ Future<bool>
-
-
isReadyToPurchase(bool readyToPurchase)
→ Future<void>
-
-
listenToEvents(dynamic block(PLYEvent))
→ void
-
-
listenToPurchases(Function block)
→ void
-
-
onProcessAction(bool processAction)
→ Future<void>
-
-
planWithIdentifier(String vendorId)
→ Future<PLYPlan?>
-
-
presentPlanWithIdentifier(String planVendorId, [String? presentationVendorId, String? contentId])
→ Future<PresentPresentationResult>
-
-
presentPresentationWithIdentifier(String? presentationVendorId, [String? contentId])
→ Future<PresentPresentationResult>
-
-
presentProductWithIdentifier(String productVendorId, [String? presentationVendorId, String? contentId])
→ Future<PresentPresentationResult>
-
-
presentSubscriptions()
→ Future<void>
-
-
productWithIdentifier(String vendorId)
→ Future<PLYProduct>
-
-
purchaseWithPlanVendorId(String vendorId, [String? contentId])
→ Future<Map>
-
-
restoreAllProducts()
→ Future<bool>
-
-
setAttribute(PLYAttribute attribute, String value)
→ Future<void>
-
-
setDefaultPresentationResultCallback(Function callback)
→ void
-
-
setDefaultPresentationResultHandler()
→ Future<PresentPresentationResult>
-
-
setLanguage(String language)
→ Future<void>
-
-
setLogLevel(PLYLogLevel logLevel)
→ Future<bool>
-
-
setPaywallActionInterceptor()
→ Future<PaywallActionInterceptorResult>
-
-
setPaywallActionInterceptorCallback(Function callback)
→ void
-
-
silentRestoreAllProducts()
→ Future<bool>
-
-
startWithApiKey(String apiKey, List<String> stores, String? userId, PLYLogLevel logLevel, PLYRunningMode runningMode)
→ Future<bool>
-
-
stopListeningToEvents()
→ void
-
-
stopListeningToPurchases()
→ void
-
-
synchronize()
→ Future<void>
-
-
transformToPLYEventProperties(Map properties)
→ PLYEventProperties
-
-
transformToPLYPlan(Map plan)
→ PLYPlan?
-
-
userLogin(String userId)
→ Future<bool>
-
-
userLogout()
→ Future<void>
-
-
userSubscriptions()
→ Future<List<PLYSubscription>>
-