reportCrash static method
Implementation
static Future<void> reportCrash(Object exception, StackTrace stack) async {
if (IBGBuildInfo.instance.isReleaseMode && enabled) {
await _reportUnhandledCrash(exception, stack);
} else {
FlutterError.dumpErrorToConsole(
FlutterErrorDetails(stack: stack, exception: exception),
);
}
}