deactivate method

void deactivate()

Restore the error routines.

Implementation

void deactivate() {
  if (_oldBuilder != null) {
    ErrorWidget.builder = _oldBuilder!;
  }
  if (_oldOnError != null) {
    FlutterError.onError = _oldOnError;
  }
}