detach method

  1. @override
Future<void> detach(
  1. covariant CameraController controller
)

Called when an output should be detached from a CameraController.

This should not need to be called by a user directly unless implementing their own CameraOutput.

Implementation

@override
Future<void> detach(covariant CameraController controller) {
  super.detach(controller);
  return mediaRecorder.release();
}