sms static method
Implementation
static Future<UComposeResult> sms({required List<String> to, String? body, List<String> attachments = const <String>[]}) async {
final bool apple = !kIsWeb && (Platform.isIOS || Platform.isMacOS);
// iOS separates the body with "&", everyone else with "?".
final String url = "sms:${to.join(",")}${body == null ? "" : "${apple ? "&" : "?"}body=${Uri.encodeComponent(body)}"}";
if (kIsWeb) return await ULaunchWeb.open(url, "_self") ? UComposeResult.opened : UComposeResult.unavailable;
return _compose(await _call<String>("sms", <String, Object?>{"to": to, "body": body, "attachments": attachments, "url": url}));
}