reportCrash abstract method
Report an error which contains a stacktrace and will therefor be reported as a real
crash. The error includes errorName and reason as well.
If errorName is null or empty the crash will not be reported.
Example:
import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';
try {
  Fail();
} catch (exception, stacktrace) {
  await Dynatrace().reportCrash('crashName', 'reason', stacktrace);
}
For more information, see Dynatrace documentation.
Implementation
Future<void> reportCrash(
  String? errorName,
  String reason,
  String stacktrace, {
  Platform? platform,
});