LoggerAnalyticsService class

Implemented types

Constructors

LoggerAnalyticsService()

Properties

currentScreen String
The current screen.
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
isDebugEnabled bool
The state of debug messages (if additional logging is on or not).
getter/setter pairoverride
isEnabled bool
The state of the service (if it reports to Analytics or not).
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserId(String id) → void
override
setUserProperty(String key, String value) → void
override
toString() String
A string representation of this object.
inherited
track(String name, [Map<String, Object>? params]) → void
Track an event using a name and optional params.
override
trackAction(String name, String action) → void
Track an action event with name and action.
override
trackActionAndDoubleValue(String name, String action, double doubleValue) → void
Track an action-and-value event with name and action and doubleValue.
override
trackActionAndIntValue(String name, String action, int intValue) → void
Track an action-and-value event with name and action and intValue.
override
trackActionAndNumberValue(String name, String action, Object numberValue) → void
Track an action-and-value event with name and action and numberValue.
override
trackActionAndTextValue(String name, String action, String textValue) → void
Track an action-and-value event with name and action and textValue.
override
trackActionAndValue(String name, String action, Object value) → void
Track an action-and-value event with name and action and value.
override
trackDoubleValue(String name, double doubleValue) → void
Track a value event with name and doubleValue.
override
trackError(String message, [Map<String, Object>? params]) → void
Track an error using an error message and optional params.
override
trackErrorWithException(String source, dynamic e, [StackTrace? stackTrace]) → void
Track an error specifying its source, with exception e and optional stackTrace.
override
trackIntValue(String name, int intValue) → void
Track a value event with name and intValue.
override
trackNumberValue(String name, Object numberValue) → void
Track a value event with name and numberValue.
override
trackTextValue(String name, String textValue) → void
Track a value event with name and textValue.
override
trackValue(String name, Object value) → void
Track a value event with name and value.
override
trackWarning(String message, [Map<String, Object>? params]) → void
Track a warning using a warning message and optional params.
override
trackWarningWithException(String source, dynamic e, [StackTrace? stackTrace]) → void
Track a warning specifying its source, with exception e and optional stackTrace.
override

Operators

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