imagePath method
Implementation
@override
Future<String?> imagePath(String imgurl) async {
var re = "";
try {
final result = await mirrorFlyMethodChannel
.invokeMethod<String>("get_image_path", {"image": imgurl});
debugPrint('RESULT ==> $result');
return result;
} on PlatformException catch (e) {
debugPrint("er $e");
return re;
}
}