AirAnalytics class
Analytics manager for Air Framework
Constructors
- AirAnalytics()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConfigured → bool
-
Check if adapter is configured
no setter
- isEnabled → bool
-
Check if analytics is enabled
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
AirAnalyticsAdapter adapter) → void - Configure the analytics adapter
-
disable(
) → void - Disable analytics tracking
-
enable(
) → void - Enable analytics tracking
-
logEvent(
String name, [Map< String, dynamic> ? parameters]) → void - Log a custom event
-
logScreenView(
String screenName, [String? screenClass]) → void - Log a screen view
-
logUserAction(
String action, [Map< String, dynamic> ? context]) → void - Log a user action
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited