rawValue property

int get rawValue

Implementation

int get rawValue {
  switch (this) {
    case BarcodeFormat.all:
      return 0xFFFF;
    case BarcodeFormat.unknown:
      return 0;
    case BarcodeFormat.code128:
      return 0x0001;
    case BarcodeFormat.code39:
      return 0x0002;
    case BarcodeFormat.code93:
      return 0x0004;
    case BarcodeFormat.codabar:
      return 0x0008;
    case BarcodeFormat.dataMatrix:
      return 0x0010;
    case BarcodeFormat.ean13:
      return 0x0020;
    case BarcodeFormat.ean8:
      return 0x0040;
    case BarcodeFormat.itf:
      return 0x0080;
    case BarcodeFormat.qrCode:
      return 0x0100;
    case BarcodeFormat.upca:
      return 0x0200;
    case BarcodeFormat.upce:
      return 0x0400;
    case BarcodeFormat.pdf417:
      return 0x0800;
    case BarcodeFormat.aztec:
      return 0x1000;
  }
}