ResolvedPaywall class

A placement as the paywall server resolved it for this user: the release and variant (experiments) it belongs to.

Annotations

Constructors

ResolvedPaywall({required PaywallPlacement placement, required List<ProductSlot> slots, Set<String> entitlements = const {}, String releaseId = '', String variant = ''})
const

Properties

entitlements → Set<String>
Verified entitlements (never cached).
final
hashCode → int
The hash code for this object.
no setterinherited
placement → PaywallPlacement
final
releaseId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → List<ProductSlot>
final
variant → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCacheJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCacheJson(Object? json) → ResolvedPaywall?