INNER CODE UNIT · Dart
dispose
crazecoder/flutter_bugly · lib/src/flutter_bugly.dart:190
static void dispose(){}
static bool _filterException(
bool debugUpload,
FlutterExceptionHandler? handler,
String? filterRegExp,
FlutterErrorDetails details,
) {
if (handler != null) {
handler(details);
} else {
FlutterError.onError?.call(details);
}
// Debug 时默认不上传异常。
if (!debugUpload && kDebugMode) {
return true;
}
// 异常过滤。