AmplitudeTracker class

Amplitude Tracker implementation.

Implemented types

Constructors

AmplitudeTracker.new({required String projectName, required String apiKey})

Properties

apiKey String
final
hashCode int
The hash code for this object.
no setterinherited
projectName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() → void
Amplitude Tracker: initialization. To init Amplitude you need to provide an API KEY
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserId(String? userId) → void
Amplitude Tracker: Set user id Setting a null id removes the user id.
override
setUserProperties(Map<String, dynamic> properties) → void
Amplitude Tracker: User properties configuration
override
toString() String
A string representation of this object.
inherited
track(String eventName, [Map<String, dynamic>? properties]) → void
Amplitude Tracker: Log event in Amplitude
override

Operators

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