AnalyticsProxy class

A common default analytic proxy to use to capture analytics events

Inheritance

Constructors

AnalyticsProxy(List<BaseAnalytics> _analyticList, {required bool enable})
Pass a list of analytics implementations of BaseAnalytics If list is empty no analytics will be sent out to any element

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateOptions Map<String, dynamic>?
getter/setter pairinherited

Methods

dispose() → dynamic
override
identifyUser(String? uid) → void
override
initialize() → void
this will automatically be called on the constructor
override
isSensitiveScreen(bool isSensitive, List<Type> sendTo, {Map<String, dynamic> properties = const {}}) → dynamic
override
logEvent(String? name, List<Type>? sendTo, {Map<String, dynamic>? properties = const {}}) → dynamic
override
logPageName(String? pageName, List<Type> sendTo, {Map<String, dynamic> properties = const {}}) → dynamic
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserProperties(Map<String, dynamic> properties) → void
override
setUserPropertiesWithOptions(Map<String, dynamic> properties, String analyticOption) → void
override
shouldSendToThisPlatform(List<Type>? allowedTypes) bool
inherited
toString() String
A string representation of this object.
inherited

Operators

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