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