formats property

List<BarcodeFormat>? formats
final

If provided, the scanner will only detect those specific formats

Implementation

final List<BarcodeFormat>? formats;