setBarcodeFormats method
Sets the barcode formats to be detected.
formats: A bitwise combination of barcode formats (see BarcodeFormat). On web, values are automatically converted to JavaScriptBigIntto support the full 64-bit range.
Returns 0 on success, or an error code on failure.
Implementation
Future<int> setBarcodeFormats(int formats) {
return BarcodeSdkPlatform.instance.setBarcodeFormats(formats);
}