dispose method

void dispose()

Return the original handlers.

Implementation

void dispose() {
  // Ensure error routines are reset, but then set to null
  deactivate();
  // App's FlutterError.onError
  _flutteryExceptionHandler = null;
  // the App's ErrorWidget.builder;
  _flutteryErrorWidgetBuilder = null;
  // Keep it if testing however
  if (App.inWidgetsFlutterBinding) {
    _oldBuilder = null;
  }
  _oldOnError = null;
}