stopPreview method

Future<void> stopPreview()

Stops the camera preview.

The purpose of this method is to be called when application is sent to background.

Implementation

Future<void> stopPreview() {
  return _platform.stopPreview();
}