24 lines
694 B
Dart
24 lines
694 B
Dart
// import 'package:ride/constant/credential.dart';
|
|
// import 'package:twilio_flutter/twilio_flutter.dart';
|
|
//
|
|
// class TwilioSMS {
|
|
// TwilioFlutter twilioFlutter = TwilioFlutter(
|
|
// accountSid: AppCredintials.accountSIDTwillo,
|
|
// authToken: AppCredintials.authTokenTwillo,
|
|
// twilioNumber: '+962 7 9858 3052');
|
|
//
|
|
// Future<void> sendSMS({
|
|
// required String recipientPhoneNumber,
|
|
// required String message,
|
|
// }) async {
|
|
// try {
|
|
// await twilioFlutter.sendSMS(
|
|
// toNumber: recipientPhoneNumber,
|
|
// messageBody: message,
|
|
// );
|
|
// } catch (e) {
|
|
// print(e); // Print the exception to the console.
|
|
// }
|
|
// }
|
|
// }
|