pauseVideoRecording method
Implementation
Future<void> pauseVideoRecording(void Function(void Function()) setState) async {
if (!photoController!.value.isRecordingVideo) {
return;
}
try {
await photoController!.pauseVideoRecording();
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}