pause method

Future<void> pause()

Implementation

Future<void> pause() async {
  _isPaused = !_isPaused;
}