pausePreview method
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},
);
}