imagePath method

  1. @override
Future<String?> imagePath(
  1. String imgurl
)
override

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;
  }
}