imagePath method

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

Implementation

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