uninstall method
void
uninstall()
Uninstall error handlers, restoring previous handlers.
Implementation
void uninstall() {
if (!_installed) return;
_installed = false;
FlutterError.onError = _previousFlutterHandler;
PlatformDispatcher.instance.onError = _previousPlatformHandler;
_previousFlutterHandler = null;
_previousPlatformHandler = null;
}