onPause method

void onPause()

Implementation

void onPause() {
  _onResumeAndPauseListener?.onInstancePause(id);
}