disableCrashHandler static method

Future<void> disableCrashHandler()

Disables 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> disableCrashHandler() async {
  TestFairyBase.prepareTwoWayInvoke();
  await TestFairyBase.channel.invokeMethod<void>('disableCrashHandler');
}