HeliumPaywallLoadingConfig class

Constructors

HeliumPaywallLoadingConfig({bool useLoadingState = true, double loadingBudget = 2.0, Map<String, TriggerLoadingConfig>? perTriggerLoadingConfig})

Properties

hashCode int
The hash code for this object.
no setterinherited
loadingBudget double
Maximum time (in seconds) to show the loading state before displaying fallback. After this timeout, the fallback view will be shown even if the paywall is still downloading. Default: 2.0 seconds
final
perTriggerLoadingConfig Map<String, TriggerLoadingConfig>?
Optional per-trigger loading configuration overrides. Use this to customize loading behavior for specific triggers. Keys are trigger names, values are TriggerLoadingConfig instances. Example: Disable loading for "onboarding" trigger while keeping it for others.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useLoadingState bool
Whether to show a loading state while fetching paywall configuration. When true, shows a loading view for up to loadingBudget seconds before falling back. Default: true
final

Methods

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

Operators

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