attachView method Null safety

  1. @override
  2. @mustCallSuper
void attachView(
  1. V view
)
@mustCallSuper, override

Implementation

@override
@mustCallSuper
void attachView(V view) {
  _hasView = true;
  _view = view;

  if (!hasInitialized) {
    _hasInitialized = true;
    initialize();
  }
}