UmengAnalytics class

Constructors

UmengAnalytics()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

deviceIDForIntegration() Future<String?>
获取集成测试需要的device_id
event(String eventId, {String? label, Map? attributes, int counter = 0}) Future<void>
事件统计功能
init({required String iOSKey, required String androidKey, String? channel, bool logEnable = false, bool encryptEnable = false, bool autoPageEnable = false}) Future<void>
初始化组件
logPage(String pageName, int seconds) Future<void>
页面统计
onPageEnd(String pageName) Future<void>
页面统计
onPageStart(String pageName) Future<void>
页面统计