stopRecording method

Future<void> stopRecording()

Implementation

Future<void> stopRecording() async {
  if (_isControllerInited && _isRecording) {
    targetFile = await _controller?.stopVideoRecording();
    _isRecording = false;

    await transportFile();
  }
}