Navaron Bracke

adjust raw value on Android & iOS

@@ -79,7 +79,7 @@ class MethodChannelMobileScanner extends MobileScannerPlatform { @@ -79,7 +79,7 @@ class MethodChannelMobileScanner extends MobileScannerPlatform {
79 final double? height = imageData?['height'] as double?; 79 final double? height = imageData?['height'] as double?;
80 80
81 return BarcodeCapture( 81 return BarcodeCapture(
82 - raw: data, 82 + raw: event,
83 barcodes: barcodes.map(Barcode.fromNative).toList(), 83 barcodes: barcodes.map(Barcode.fromNative).toList(),
84 image: image, 84 image: image,
85 size: width == null || height == null ? Size.zero : Size(width, height), 85 size: width == null || height == null ? Size.zero : Size(width, height),