shareFilesToWhatsapp method

Future<String> shareFilesToWhatsapp(
  1. List<String> filePaths
)

Shares multiple files to WhatsApp on Android.

filePaths List of file paths to share (images or videos).

Returns a String indicating the result of the sharing operation.

Example:

await easySocialShare.android.shareFilesToWhatsapp([
  "/path/to/image1.jpg",
  "/path/to/image2.jpg"
]);

Implementation

Future<String> shareFilesToWhatsapp(List<String> filePaths) {
  return EasySocialSharePlatform.instance.shareToWhatsappAndroidMultiFiles(
    filePaths,
  );
}