- Inheritance
-
- Object
- PlatformInterface
- HeliumFlutterPlatform
- 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
-
disableRestoreFailedDialog()
→ void
-
-
getDownloadStatus()
→ Future<String?>
-
Download status of paywall
-
getExperimentInfoForTrigger(String trigger)
→ Future<ExperimentInfo?>
-
-
getHeliumUserId()
→ Future<String?>
-
Gets helium user id
-
getPaywallInfo(String trigger)
→ Future<PaywallInfo?>
-
-
getUpsellWidget({required String trigger, PaywallEventHandlers? eventHandlers})
→ Widget
-
-
handleDeepLink(String uri)
→ Future<bool>
-
-
hasAnyActiveSubscription()
→ Future<bool>
-
-
hasAnyEntitlement()
→ Future<bool>
-
-
hideUpsell()
→ Future<bool>
-
Hides view
-
initialize({required String apiKey, HeliumCallbacks? callbacks, HeliumPurchaseDelegate? purchaseDelegate, Widget? fallbackPaywall, String? customAPIEndpoint, String? customUserId, Map<String, dynamic>? customUserTraits, String? revenueCatAppUserId, String? fallbackBundleAssetPath, HeliumPaywallLoadingConfig? paywallLoadingConfig})
→ Future<String?>
-
Initialize helium sdk at the start up of flutter application. It will download custom paywall view
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideUserId({required String newUserId, required Map<String, dynamic> traits})
→ Future<String?>
-
Overrides user id to given
newUserId
-
paywallsLoaded()
→ Future<bool>
-
Returns bool based on paywall loaded or not
-
presentUpsell({required BuildContext context, required String trigger, PaywallEventHandlers? eventHandlers, Map<String, dynamic>? customPaywallTraits})
→ Future<String?>
-
Presents view based on
trigger
-
resetHelium()
→ void
-
-
setCustomRestoreFailedStrings({String? customTitle, String? customMessage, String? customCloseButtonText})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited