stopPreview method

Future<void> stopPreview()

Implementation

Future<void> stopPreview() {
  assert(!_isClosed);

  return CameraChannel.channel.invokeMethod<void>(
    'Camera#stopPreview',
    <String, dynamic>{'handle': handle},
  );
}