reportCrash abstract method

Future<void> reportCrash(
  1. String? errorName,
  2. String reason,
  3. String stacktrace, {
  4. Platform? platform,
})

Report an error which contains a stacktrace and will therefor be reported as a real crash. The error includes errorName and reason as well.

Implementation

Future<void> reportCrash(String? errorName, String reason, String stacktrace,
    {Platform? platform});