The server side of paywalls: which layout and products a placement shows, purchase verification and the user's entitlements.
- Implementers
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
-
entitlements(
) → Future< Set< String> > - The user's verified entitlements.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordEvent(
{required String eventId, required String name, required ResolvedPaywall paywall, String? slot}) → Future< void> - Records a paywall event.
-
resolve(
String placement, {required String locale, required String platform, required String appVersion}) → Future< ResolvedPaywall> -
Resolves
placementfor this user,locale,platform(ios,android) andappVersion. Throws when there is no paywall to show. -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
PendingPurchase purchase) → Future< String?> -
Verifies
purchase: the entitlement it grants, or null.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited