nativeCrash static method
Use nativeCrash() to crash the native implementation and test/debug the crash reporting for native code.
This should not be used in production code.
Only for Android, iOS and macOS
Implementation
static Future<void> nativeCrash() async {
if (_native == null) {
_logNativeIntegrationNotAvailable("nativeCrash");
return Future<void>.value();
}
return _native!.nativeCrash();
}