RevenueCatDatasource class
Web stub for RevenueCatDatasource.
In-app purchases are unavailable on web — solo users subscribe via Stripe
Checkout instead. This stub is resolved via conditional import so the
real purchases_flutter dependency never compiles into the JS bundle.
All methods return safe no-op values. Getters mirror the native API so
shared UI code (e.g. subscription_screen.dart) compiles on web even
though the mobile-only code paths never actually run there.
Constructors
- RevenueCatDatasource({required String iosApiKey, required String androidApiKey})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConfigured → bool
-
no setter
-
ready
→ Future<
void> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
{required String userId}) → Future< void> -
getCustomerInfo(
) → Future< Object?> -
getOfferings(
) → Future< Object?> -
logOut(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
purchasePackage(
Object package) → Future< Object> -
restorePurchases(
) → Future< Object> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited