AnalyticsInterface class abstract
Exposes all analytic methods for implementation.
Constructors
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 possibleparameters
. -
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 possiblescreenClassOverride
. -
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
andvalue
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited