Analytics class
Properties
-
app
→ App
-
Non-null App for this instance of analytics service.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
jsObject
→ AnalyticsJsImpl
-
JS object.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
logEvent({required String name, Map<String, Object?>? parameters, AnalyticsCallOptions? callOptions})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAnalyticsCollectionEnabled({required bool enabled})
→ void
-
-
setConsent({bool? adPersonalizationSignalsConsentGranted, bool? adStorageConsentGranted, bool? adUserDataConsentGranted, bool? analyticsStorageConsentGranted, bool? functionalityStorageConsentGranted, bool? personalizationStorageConsentGranted, bool? securityStorageConsentGranted})
→ void
-
-
setCurrentScreen({String? screenName, AnalyticsCallOptions? callOptions})
→ void
-
-
setUserId({String? id, AnalyticsCallOptions? callOptions})
→ void
-
-
setUserProperty({required String name, required String? value, AnalyticsCallOptions? callOptions})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited