NoOpAnalyticsService class

Default AnalyticsService — records nothing.

Used before an implementation is registered, and in tests.

Deliberately silent. Unlike the entitlement and paywall no-ops, this one doesn't warn: shipping without analytics is a legitimate choice, and a log line per tracked event would drown every other diagnostic. Implementations should log their own failures through bifrostLogger.

Implemented types

Constructors

NoOpAnalyticsService()
const

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 event, [Map<String, Object?> params = const {}]) → void
Records that event happened.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserId(String? id) → void
Associates subsequent events with id, or clears it on sign-out.
override
setUserProperty(String name, String? value) → void
Sets a durable property on the current user (plan tier, cohort, locale).
override
toString() String
A string representation of this object.
inherited

Operators

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