stop static method

void stop()

Stops the current audio recording and finalizes the file.

Implementation

static void stop() {
  if (_isRecording) {
    _stopNative();
    _isRecording = false;
    _isPaused = false;
  }
}