pause method
Pause the preview. On iOS this snapshots the next frame into the native share-image cache before stopping the session (so capturePhoto after pause returns the frozen frame); on Android it unbinds the camera use-cases while keeping the predictor alive.
Implementation
Future<void> pause() => _invoke('pause');