IAnalyticsService class abstract

Constructors

IAnalyticsService()

Properties

currentScreen String
The current screen.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
The state of the service (if it reports to Analytics or not).
getter/setter pair
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
toString() String
A string representation of this object.
inherited
track(String name, [Map<String, dynamic>? params]) Future
Track an event using a name and optional params.
trackAction(String name, String action) → void
Track an action event with name and action.
trackActionAndValue(String name, String action, Object value) → void
Track an action-and-value event with name and action and value.
trackError(String message, [Map<String, dynamic>? params]) Future
Track an error using an error message and optional params.
trackErrorWithException(String source, dynamic e, dynamic stackTrace) Future
Track an error specifying its source, with exception e and stackTrace.
trackValue(String name, Object value) → void
Track a value event with name and value.
trackWarning(String message, [Map<String, dynamic>? params]) Future
Track a warning using a warning message and optional params.
trackWarningWithException(String source, dynamic e, dynamic stackTrace) Future
Track a warning specifying its source, with exception e and stackTrace.

Operators

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