Merge pull request #21 from adarshbalu/master
Changed Readme with Correct Implementation of sendSms fuction
This commit is contained in:
commit
060302cf85
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user