UmengAnalyticsPlugin class

Constructors

UmengAnalyticsPlugin()

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

getPlatformVersion() Future<String?>
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

initialize({required String androidAppKey, required String iosAppKey, required String channel, bool logEnabled = false, bool encryptEnabled = true}) Future<void>
初始化友盟统计 SDK
logEvent(String eventId, {Map<String, String>? properties}) Future<void>
自定义事件统计
pageEnd(String pageName) Future<void>
页面结束统计
pageStart(String pageName) Future<void>
页面开始统计
signIn(String userId, {String? provider}) Future<void>
用户登录统计
signOut() Future<void>
用户登出统计