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

enable bool
getter/setter pair
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() Future<void>
override
identifyUser(String? uid) Future<void>
override
initialize() Future<void>
will need to be called before any analytics are sent out
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 {}}) Future<void>
override
logPageName(String? pageName, List<Type> sendTo, {Map<String, dynamic> properties = const {}}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserProperties(Map<String, dynamic> properties) Future<void>
override
setUserPropertiesWithOptions(Map<String, dynamic> properties, String analyticOption) Future<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