initCameraPreview method
Initialize camera preview.
Can throw a PlatformException if device has problem with camera, or doesn't have one. Plugin ask permission to use camera, if user doesn't grant permission also throw a PlatformException.
Implementation
Future<void> initCameraPreview({ScannerParameters? initialArguments}) {
return _channel.invokeMethod(_initCameraMethod, initialArguments?.toJson());
}