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 {
return await _channel
.invokeMethod('setBarcodeFormats', {'formats': formats});
}