File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ class MethodChannelMobileScanner extends MobileScannerPlatform {
56
56
if (defaultTargetPlatform == TargetPlatform .android ||
57
57
defaultTargetPlatform == TargetPlatform .iOS ||
58
58
defaultTargetPlatform == TargetPlatform .macOS) {
59
- final Map <String , Object ?>? imageData =
60
- event['image' ] as Map <String , Object ?>? ;
59
+ final Map <Object ? , Object ?>? imageData =
60
+ event['image' ] as Map <Object ? , Object ?>? ;
61
61
final Uint8List ? image = imageData? ['bytes' ] as Uint8List ? ;
62
62
final double ? width = imageData? ['width' ] as double ? ;
63
63
final double ? height = imageData? ['height' ] as double ? ;
@@ -141,8 +141,8 @@ class MethodChannelMobileScanner extends MobileScannerPlatform {
141
141
142
142
@override
143
143
Future <BarcodeCapture ?> analyzeImage (String path) async {
144
- final Map <String , Object ?>? result =
145
- await methodChannel.invokeMapMethod <String , Object ?>(
144
+ final Map <Object ? , Object ?>? result =
145
+ await methodChannel.invokeMapMethod <Object ? , Object ?>(
146
146
'analyzeImage' ,
147
147
path,
148
148
);
You can’t perform that action at this time.
0 commit comments