Purchasely class Null safety

Constructors

Purchasely()

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

anonymousUserId Future<String>
read-only
events ↔ dynamic
read / write
purchases ↔ dynamic
read / write

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