readImageInfo method
Implementation
@override
Future<String> readImageInfo(String imagePath) async {
try {
final String result = await methodChannel.invokeMethod(
'readImageInfo',
{'imagePath': imagePath},
);
return result;
}on PlatformException catch (e) {
throw Exception("${e.message}");
}
catch (e) {
throw Exception("Unexpected error: ${e.toString()}");
}
}