AnalyticsService class
This service allow interact with the integrated trackers (Firebase Analytics, Amplitude, etc).
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
-
init(
List< Tracker> trackers) → void - Init each Tracker.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setUserId(
String? userId) → void - Set user id for each Tracker.
-
setUserProperties(
Map< String, dynamic> properties) → void - Set user properties for each Tracker.
-
toString(
) → String -
A string representation of this object.
inherited
-
track(
Event event) → void - Log event in each Tracker.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AnalyticsService
-
no setter