10/16/1
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import 'package:flutter_sms/flutter_sms.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:ride/constant/box_name.dart';
|
||||
import 'dart:async';
|
||||
@@ -62,14 +61,6 @@ class HomeCaptainController extends GetxController {
|
||||
super.onInit();
|
||||
}
|
||||
|
||||
void sendSMSToRecipents(String message, List<String> recipents) async {
|
||||
String _result = await sendSMS(message: message, recipients: recipents)
|
||||
.catchError((onError) {
|
||||
print(onError);
|
||||
});
|
||||
print(_result);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
activeTimer?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user