shareToSMS method

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

Shares a message and optional file via SMS on Android.

message The text message to share. filePath Optional path to a file to attach.

Returns a String indicating the result of the sharing operation.

Implementation

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