AnalyticsLogger class abstract
Class that should log various types of events for analytics purposes.
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> - Log a generic event.
-
logScreenView(
{required String screenName, String? screenClass}) → Future< void> - On real applications, the event should be loggedan analytics Screen View
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setUserId(
String? id) → Future< void> - Set the id of the user within the analytics service
-
setUserProperty(
String property, String? value) → Future< void> - Set a property of the user within the analytics service
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited