scanFilePath method
Scan an image file from path. Default throws.
Implementation
@override
Future<Map<dynamic, dynamic>> scanFilePath(String filePath,
{String? modelId}) async {
final result = await _methodChannel.invokeMapMethod<dynamic, dynamic>(
'scanFile',
{'filePath': filePath, if (modelId != null) 'modelId': modelId},
);
return result ?? {};
}