AnalyticTool class

Properties

currentPageCode String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEvent({required String code, required String name, required EventType type, int? timestamp, required String? belongPage, Map<String, String>? extra}) → void
打点
getCurrentPageData() Map<String, dynamic>
获取当前页面信息
initialize({required String userid, required String api, required String systemVersion, required String appVersion}) Future<void>
Func 初始化
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordEvent({required String sessionId, required String eventCode, required String eventName, required EventType eventType, required int timestamp, String? belongPage, Map<String, dynamic>? extra, required dynamic onSuccess(), required dynamic onError()}) Future<void>
记录打点事件
returnToCurrentPage({required Map<String, dynamic> pageData}) → void
返回当前页面
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance() AnalyticTool