RelevaConfig class
Constructors
- RelevaConfig({bool enableTracking = true, bool enableScreenTracking = true, bool enableInAppMessaging = true, bool enablePushNotifications = true, bool enableAnalytics = true})
-
const
- RelevaConfig.full()
-
Configuration for full functionality (default)
const
- RelevaConfig.messagingOnly()
-
Configuration for tracking disabled (only in-app messaging)
const
- RelevaConfig.pushOnly()
-
Configuration for push notifications only
const
- RelevaConfig.trackingOnly()
-
Configuration for analytics only (no messaging)
const
Properties
- enableAnalytics → bool
-
final
- enableInAppMessaging → bool
-
final
- enablePushNotifications → bool
-
final
- enableScreenTracking → bool
-
final
- enableTracking → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? enableTracking, bool? enableScreenTracking, bool? enableInAppMessaging, bool? enablePushNotifications, bool? enableAnalytics}) → RelevaConfig -
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