pausePreview method

  1. @override
Future<void> pausePreview(
  1. int cameraId
)

Pause the active preview on the current frame for the selected camera.

Implementation

@override
Future<void> pausePreview(int cameraId) async {
  await _channel.invokeMethod<double>(
    'pausePreview',
    <String, dynamic>{'cameraId': cameraId},
  );
}