label property

String get label

A human-readable display name for this reader, suitable for use in UI labels and dialogs.

Implementation

String get label => switch (this) {
  WebBarcodeReader.auto => 'Auto',
  WebBarcodeReader.barcodeDetector => 'Native BarcodeDetector',
  WebBarcodeReader.zxingWasm => 'zxing-wasm',
  WebBarcodeReader.zxingJs => 'ZXing-js (legacy)',
};