Bugly class

Description:bugly futter plugin . @author rockypzhang @since 2019/5/28

Constructors

Bugly()

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 Properties

platformVersion → Future<String>
no setter

Static Methods

initAndroidCrashReport({String? appId, bool? isDebug}) → Future<void>
初始化接口. @param appId appId @param isDebug 是否打开debug开关
initIosCrashReport({String? appId, bool? debugMode, String? serverUrl}) → Future<void>
初始化接口. @param appId appId
postException({String? type, String? error, String? stackTrace, Map<String, String>? extraInfo}) → Future<void>
上报自定义异常. @param type 错误类型 @param error 错误信息 @param stackTrace 出错堆栈 @param extraInfo 额外信息
putUserData({String? userKey, String? userValue}) → Future<void>
添加用户数据Key,Value. @param userKey 用户数据key @param userValue 用户数据value
setAndroidAppChannel({String? appChannel}) → Future<void>
设置App渠道. @param appChannel App渠道
setAndroidAppPackage({String? appPackage}) → Future<void>
设置App包名 @param appPackage App包名
setAndroidDeviceId({String? deviceId}) → Future<void>
设置App 设备 id @param appPackage App包名
setAndroidServerUrl({String? url}) → Future<void>
自定义上报域名. @param url 自定义域名
setAppVersion({String? appVersion}) → Future<void>
设置App版本 @param appVersion App版本
setUserId({String? userId}) → Future<void>
设置用户id @param userSceneTag 唯一标识一种场景,必须大于0
setUserSceneTag({int? userSceneTag}) → Future<void>
设置用户场景 ,可以在初始化前执行. @param userSceneTag 唯一标识一种场景,必须大于0