onViewModelDestroy method

  1. @mustCallSuper
void onViewModelDestroy()

Implementation

@mustCallSuper
void onViewModelDestroy() {
  isDestroy = true;
  if (!isDispose) {
    doDispose();
  }
}