sendSilentCrashReport method

Future<void> sendSilentCrashReport({
  1. required String description,
  2. required String severity,
  3. dynamic excludeData = const {},
})

Implementation

Future<void> sendSilentCrashReport({
  required String description,
  required String severity,
  dynamic excludeData = const {},
}) async {
  String? stringifiedHashMap = jsonEncode(excludeData);

  await GleapJsSdkHelper.sendSilentCrashReport(
    description,
    severity,
    stringifiedHashMap,
  );
}