shareToTwitter method

Future<String> shareToTwitter(
  1. String message,
  2. String? filePath
)

Shares a message and optional file to Twitter on iOS.

message The text message to share. filePath Optional path to an image or video file to share.

Returns a String indicating the result of the sharing operation.

Implementation

Future<String> shareToTwitter(String message, String? filePath) {
  return EasySocialSharePlatform.instance.shareToTwitter(message, filePath);
}