shareToSystem method

Future<String> shareToSystem(
  1. String message, {
  2. List<String>? filePaths,
})

Shares content using iOS system sharing dialog.

message The text message to share. filePaths Optional list of file paths to share.

Returns a String indicating the result of the sharing operation.

Example:

await easySocialShare.iOS.shareToSystem(
  "Check out this content!",
  filePaths: ["/path/to/image.jpg"]
);

Implementation

Future<String> shareToSystem(String message, {List<String>? filePaths}) {
  return EasySocialSharePlatform.instance.shareToSystem(
    "",
    message,
    filePaths: filePaths,
  );
}