stop method
Stops the camera, but does not dispose this controller.
Implementation
Future<void> stop() async {
await _methodChannel.invokeMethod('stop');
// After the camera stopped, set the torch state to off,
// as the torch state callback is never called when the camera is stopped.
torchState.value = TorchState.off;
}