shareToTwitter method
Shares a message and optional file to Twitter on Android.
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.shareToTwitterAndroid(
message,
filePath,
);
}