uninstall static method

void uninstall()

Снимает хендлеры (удобно в тестах).

Implementation

static void uninstall() {
  if (!_installed) return;
  FlutterError.onError = _previousFlutterOnError;
  PlatformDispatcher.instance.onError = _previousPlatformOnError;
  _installed = false;
  _logger = null;
  _crashReporter = null;
  _previousFlutterOnError = null;
  _previousPlatformOnError = null;
}