shareImageToWhatsApp method

Future<String> shareImageToWhatsApp(
  1. String filePath
)

Shares an image to WhatsApp on iOS.

filePath Path to the image file to share.

Returns a String indicating the result of the sharing operation.

Example:

await easySocialShare.iOS.shareImageToWhatsApp("/path/to/image.jpg");

Implementation

Future<String> shareImageToWhatsApp(String filePath) {
  return EasySocialSharePlatform.instance.shareImageToWhatsApp(filePath);
}