triggerTestCrash static method
Crashes the app natively: a segmentation fault on iOS, an uncaught
IllegalStateException on Android's main thread. kind travels in the
Android message. Completes before the crash, which is posted to the
main thread.
Implementation
static Future<void> triggerTestCrash([String kind = 'native']) =>
_quietly(() => RumHostApi().triggerTestCrash(kind));