scanImageBytes method
Scan raw image bytes. Default throws.
Implementation
@override
Future<Map<dynamic, dynamic>> scanImageBytes(Uint8List bytes,
{String? modelId}) async {
final result = await _methodChannel.invokeMapMethod<dynamic, dynamic>(
'scanBytes',
{'bytes': bytes, if (modelId != null) 'modelId': modelId},
);
return result ?? {};
}