sendSMS method

  1. @override
Future<String> sendSMS({
  1. required String message,
  2. required List<String> recipients,
  3. bool sendDirect = false,
})

Implementation

@override
Future<String> sendSMS({
  required String message,
  required List<String> recipients,
  bool sendDirect = false,
}) async {
  bool _messageSent =
      await FlutterSmsPlatform.instance.launchSmsMulti(recipients, message);
  if (_messageSent) return 'Message Sent!';
  return 'Error Sending Message!';
}