detachView method Null safety

  1. @override
  2. @mustCallSuper
void detachView()
@mustCallSuper, override

Implementation

@override
@mustCallSuper
void detachView() {
  _view = null;
  _hasView = false;
}