Showing
1 changed file
with
4 additions
and
2 deletions
| @@ -109,10 +109,12 @@ class MobileScannerController { | @@ -109,10 +109,12 @@ class MobileScannerController { | ||
| 109 | break; | 109 | break; |
| 110 | case 'barcodeWeb': | 110 | case 'barcodeWeb': |
| 111 | final bytes = (binaryData as List).cast<int>(); | 111 | final bytes = (binaryData as List).cast<int>(); |
| 112 | - barcodesController.add(Barcode( | 112 | + barcodesController.add( |
| 113 | + Barcode( | ||
| 113 | rawValue: data as String?, | 114 | rawValue: data as String?, |
| 114 | rawBytes: Uint8List.fromList(bytes), | 115 | rawBytes: Uint8List.fromList(bytes), |
| 115 | - )); | 116 | + ), |
| 117 | + ); | ||
| 116 | break; | 118 | break; |
| 117 | default: | 119 | default: |
| 118 | throw UnimplementedError(); | 120 | throw UnimplementedError(); |
-
Please register or login to post a comment