FlutterBugly class

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

init({String? androidAppId, String? iOSAppId, String? channel, int initDelay = 0}) Future<InitResultInfo>
初始化
postCatchedException<T>(T callback(), {FlutterExceptionHandler? handler, String? filterRegExp, bool debugUpload = false}) → void
异常上报
putUserData({required String key, required String value}) Future<Null>
设置关键数据,随崩溃信息上报
setAppChannel(String channel) Future<Null>
自定义渠道标识 android专用
setUserId(String userId) Future<Null>
设置用户标识
setUserTag(int userTag) Future<Null>
设置标签 userTag 标签ID,可在网站生成
uploadException({required String message, required String detail, Map? data}) Future<Null>
上报自定义异常信息,data为文本附件 Android 错误分析=>跟踪数据=>extraMessage.txt iOS 错误分析=>跟踪数据=>crash_attach.log