All methods are working only with subscriptions currently
Properties
-
fetchedPaywalls
→ Map<
String, Paywall> -
All paywalls list, fetched on start
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
paywallsStream
→ BehaviorSubject<
Map< String, Paywall> ?> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscriptionStatus
→ BehaviorSubject<
bool> -
Stream with subscription status
final
- userId → String?
-
Payment provider user id
final
Methods
-
addAttributionProviders(
Map< AttributionProvider, String> providers) → Future<void> - Add attributes to the sub service to match between analytics
-
initialize(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paywallProducts(
{required String paywallId}) → List< ProductModel> - All products from specific paywall. If not found throws PaywallFindFailedException
-
purchase(
{required String productId, dynamic product}) → Future< bool> - Purchase product by id
-
restorePurchases(
) → Future< bool> - Restore all purchases
-
setAdvertisingIdentifier(
{required String? idfa, required String? idfv}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited