Telling class

Properties

goRouterScreenTracker NavigatorObserver
Get the go_router compatible screen tracker
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenTracker RouteObserver<PageRoute>
Get the screen tracker for use with Navigator
no setter

Methods

acceptUpdate({String? minVersion}) Future<void>
Call this when the user accepts an update prompt and you're about to redirect them to the app store.
captureException({required Object error, StackTrace? stackTrace, String? context, Map<String, dynamic>? metadata}) → void
Capture and report an exception
checkVersion() Future<VersionCheckResult>
Check if the app version meets the minimum requirements defined in the dashboard.
clearUser() → void
Clear user context (call after user logs out)
clearUserProperties() → void
Clear all user properties
clearUserProperty(String key) → void
Clear a specific user property
dispose() → void
enableCrashReporting() → void
Enable automatic crash reporting
event(String name, {Map<String, dynamic>? properties}) → void
Track an analytics event
getUserProperty(String key) → dynamic
Get a user property value
init(String apiKey, {String? userId, String? userName, String? userEmail, bool? enableDebugLogs}) Future<void>
Initialize the Telling SDK
log(String message, {LogLevel level = LogLevel.info, Object? error, StackTrace? stackTrace, Map<String, dynamic>? metadata, LogType type = LogType.general}) → void
Log a message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUser({required String userId, String? userName, String? userEmail}) → void
Set user context (call after user logs in)
setUserProperties(Map<String, dynamic> properties) → void
Set multiple user properties at once
setUserProperty({required String key, required dynamic value}) → void
Set a single user property
snoozeUpdate({required int days, required String minVersion}) Future<void>
Snooze the update prompt for the specified number of days.
toString() String
A string representation of this object.
inherited
trackFunnel({required String funnelName, required String stepName, int? step, Map<String, dynamic>? properties}) → void
Track a funnel step

Operators

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

Static Properties

instance Telling
no setter