formatName property

String formatName

Implementation

String get formatName {
  switch (this) {
    case BarcodeFormat.aztec:
      return 'AZTEC';
    case BarcodeFormat.codabar:
      return 'CODABAR';
    case BarcodeFormat.code39:
      return 'CODE_39';
    case BarcodeFormat.code93:
      return 'CODE_93';
    case BarcodeFormat.code128:
      return 'CODE_128';
    case BarcodeFormat.dataMatrix:
      return 'DATA_MATRIX';
    case BarcodeFormat.ean8:
      return 'EAN_8';
    case BarcodeFormat.ean13:
      return 'EAN_13';
    case BarcodeFormat.itf:
      return 'ITF';
    case BarcodeFormat.maxicode:
      return 'MAXICODE';
    case BarcodeFormat.pdf417:
      return 'PDF_417';
    case BarcodeFormat.qrcode:
      return 'QR_CODE';
    case BarcodeFormat.rss14:
      return 'RSS14';
    case BarcodeFormat.rssExpanded:
      return 'RSS_EXPANDED';
    case BarcodeFormat.upcA:
      return 'UPC_A';
    case BarcodeFormat.upcE:
      return 'UPC_E';
    case BarcodeFormat.upcEanExtension:
      return 'UPC_EAN_EXTENSION';
    default:
      return 'UNKNOWN';
  }
}