AnalyticsService<T, Y> class abstract

Inheritance

Constructors

AnalyticsService()

Properties

appId String?
getter/setter pair
core LittleFishCore
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
instance ↔ T?
getter/setter pair
instanceId String?
getter/setter pair
isAnalyticsEnabled bool
no setter
isReady bool
no setter
isSetup bool?
no setter
logger LoggerService
no setterinherited
observer ↔ Y?
getter/setter pair
providerName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings AnalyticsSettings
getter/setter pair

Methods

enableAnalyticsCollection({required bool enable}) Future<void>
getAnalyticsObserver() Future<Y?>
getUserConsent() Future<bool>
initialize({required AnalyticsSettings settings}) Future<void>
logEvent({required AnalyticsEvent e}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaultEventParameters({required Map<String, dynamic> parameters}) Future<void>
setIsReady({required bool isReady}) Future<void>
setScreenName({required String name}) Future<void>
setUserConsent({bool? adsConsent = false, bool? adsStorageConsent = false, bool? analyticsConsent = false, bool? analyticsStorageConsent = false, bool? adsUserDataConsent = false, bool? personalisationStorageConsentGranted = false, bool? securityStorageConsentGranted = false, bool? functionalityConsent = false}) Future<void>
setUserId({required String userId}) Future<void>
setUserProperties({required Map<String, String> properties}) Future<void>
setUserProperty({required String name, required String value}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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