setBarcodeFormats method
Set barcode formats. https://www.dynamsoft.com/barcode-reader/parameters/enum/format-enums.html?ver=latest#barcodeformat
Implementation
Future<int> setBarcodeFormats(int formats) async {
updateSettings(formats);
return 0;
}