analytics library Null safety

Classes

Analytics
AnalyticsJsImpl

Functions

getAnalytics([AppJsImpl? app]) AnalyticsJsImpl
@JS()
getAnalyticsInstance([App? app]) Analytics
Given an AppJSImp, return the Analytics instance.
initializeAnalytics([AppJsImpl app]) AnalyticsJsImpl
@JS()
isSupported() → PromiseJsImpl<bool>
@JS()
logEvent(AnalyticsJsImpl analytics, String eventName, dynamic parameters, AnalyticsCallOptions? callOptions) → void
@JS()
setAnalyticsCollectionEnabled(AnalyticsJsImpl analytics, bool enabled) → void
@JS()
setCurrentScreen(AnalyticsJsImpl analytics, String? screenName, AnalyticsCallOptions? callOptions) → void
@JS()
setUserId(AnalyticsJsImpl analytics, String? id, AnalyticsCallOptions? callOptions) → void
@JS()
setUserProperties(AnalyticsJsImpl analytics, dynamic property, AnalyticsCallOptions? callOptions) → void
@JS()