INNER CODE UNIT · Dart
reg
crazecoder/flutter_bugly · lib/src/flutter_bugly.dart:209
RegExp reg = new RegExp(filterRegExp);
Iterable<Match> matches = reg.allMatches(details.exception.toString());
if (matches.length > 0) {
return true;
}
}
return false;
}
/// 上报自定义异常信息,data 为文本附件
/// Android 错误分析 => 跟踪数据 => extraMessage.txt
/// iOS 错误分析 => 跟踪数据 => crash_attach.log
static Future<Null> uploadException({
required String message,
required String detail,
String? type,
Map? data,
}) async {