stopVideoRecording method

Future<XFile> stopVideoRecording()

Ends the recording and yields the finished file.

Implementation

Future<XFile> stopVideoRecording() async {
  final handle = _requireHandle('stopVideoRecording');
  final file = await XCameraBackend.instance.stopVideoRecording(handle);
  value = value.copyWith(isRecordingVideo: false);
  return file;
}