AnalyticsInterface class abstract

Exposes all analytic methods for implementation.

Constructors

AnalyticsInterface()

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

logEvent({required String name, Map<String, Object>? parameters}) Future<void>
Logs an event by name and possible parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetAnalyticsData() Future<void>
Resets all current analytics data.
setCurrentScreen({required String name, String? screenClassOverride}) Future<void>
Sets the current screen by name and possible screenClassOverride.
setUserId(String? id) Future<void>
Sets the user id of the current user that's logged in.
setUserProperty({required String name, required String? value}) Future<void>
Sets a user property by name and value.
toString() String
A string representation of this object.
inherited

Operators

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