enableCrashHandler static method
Enables the ability to capture crashes. Must be called before begin.
TestFairy crash handler is installed by default. Once installed it cannot be uninstalled.
Implementation
static Future<void> enableCrashHandler() async {
TestFairyBase.prepareTwoWayInvoke();
await TestFairyBase.channel.invokeMethod<void>('enableCrashHandler');
}