stopRecording method

  1. @override
Future<void> stopRecording()
override

End recording the the file specified in startRecording.

This should only be called after passing as a parameter to a CameraController and CameraController.initialize has been called.

Implementation

@override
Future<void> stopRecording() {
  verifyAttached();
  return movieFileOutput.stopRecording();
}