stopRecording method

void stopRecording()

Implementation

void stopRecording() {
  _isRecording = false;
  _timer?.cancel();
}