stop method

Future<void> stop()

Stops the camera, but does not dispose this controller.

Implementation

Future<void> stop() async {
  try {
    await _methodChannel.invokeMethod('stop');
  } catch (e) {
    debugPrint('$e');
  }
}