setZoom method
Sets the camera zoom.
Value can only be in the range from 0 to 1
Implementation
Future<void> setZoom(double value) async {
assert(
value >= 0 && value <= 1,
"Value can only be in the range from 0 to 1",
);
return _barcodeScannerState?._setZoom(value);
}