stop method
Stop the camera.
After calling this method, the camera can be restarted using start.
Does nothing if the camera is already stopped.
Implementation
Future<void> stop() async {
if (_stop()) {
await MobileScannerPlatform.instance.stop();
}
}