AnalyticsService class abstract

Abstract class defining the contract for analytics services.

Implementers

Constructors

AnalyticsService()

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

log(String message, AnalyticLevel level) Future<void>
Logs a message.
logEvent(String name, AnalyticLevel level, [Map<String, Object?>? parameters]) Future<void>
Logs a custom event with optional parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordError(dynamic exception, StackTrace? stack, {dynamic reason, Iterable<Object> information = const [], bool fatal = false}) Future<void>
Logs a custom error with an optional stack trace and reason.
setCustomKey(String key, Object value) Future<void>
Sets a custom key-value pair.
setUserId(String id) Future<void>
Sets a user identifier.
toString() String
A string representation of this object.
inherited

Operators

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