sms method

Future<bool> sms({
  1. required String body,
})

Sends a SMS to this phone number. It requires a body.

Implementation

Future<bool> sms({
  required String body,
}) {
  final Uri uri = Uri(
    path: number,
    queryParameters: <String, dynamic>{
      'body': body,
    },
    scheme: 'sms',
  );

  return launch('$uri');
}