onDispose method

  1. @mustCallSuper
void onDispose()

Implementation

@mustCallSuper
void onDispose() {
  if (isDestroy) {
    doDispose();
  }
}