Merge pull request #21 from adarshbalu/master

Changed Readme with Correct Implementation of sendSms fuction
This commit is contained in:
Rody Davis 2020-04-05 19:40:49 -07:00 committed by GitHub
commit 060302cf85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,8 +37,7 @@ Create a function for sending messages.
``` dart ``` dart
void _sendSMS(String message, List<String> recipents) async { void _sendSMS(String message, List<String> recipents) async {
String _result = await FlutterSms String _result = await sendSMS(message: message, recipients: recipents)
.sendSMS(message: message, recipients: recipents)
.catchError((onError) { .catchError((onError) {
print(onError); print(onError);
}); });