toggleAutoPlay method

void toggleAutoPlay()

Implementation

void toggleAutoPlay() => isAutoPlaying ? stopAutoPlay() : startAutoPlay();