onDetach method

void onDetach()

Implementation

void onDetach() {
  _unscheduleTick();
  _unbindLifecycleListener();
}