toggleReplayPlay method

void toggleReplayPlay()

Implementation

void toggleReplayPlay() {
  if (_isReplaying) {
    pauseReplay();
  } else {
    playReplay();
  }
}