reportCrashWithException abstract method

Future<void> reportCrashWithException(
  1. String crashName,
  2. Exception exceptionObject, {
  3. String? reason,
  4. Platform? platform,
})

Report an error which contains an exceptionObject and will therefor be reported as a real crash. The error includes crashName as well as reason if you include it.

Implementation

Future<void> reportCrashWithException(
    String crashName, Exception exceptionObject,
    {String? reason, Platform? platform});