twilio_flutter
twilio_flutter copied to clipboard
Check response after sending SMS
Am trying to check a response either failed or success but It's only displaying in the console. but I can't display it on the UI.
twilioFlutter.sendSMS(toNumber: '+2349057463831', messageBody: AppString.smsBody, ).then((value){ print('Value $value'); //Doesnt display }).catchError((error){ print('Catch Error ${error.toString()}'); //Only display "Exception" });