stopVideoRecording method
Stops the video recording and returns the file where it was saved.
Throws a CameraException if the capture failed.
Implementation
@override
Future<XFile> stopVideoRecording({bool imageStream = false}) async {
final file = await super.stopVideoRecording();
if (!value.isStreamingImages && imageStream) {
await startImageStream(_processCameraImage);
}
return file;
}