|
|
@ -256,7 +256,7 @@ class _VerifyAccountState extends State<VerifyAccount> {
|
|
|
|
*@return:
|
|
|
|
*@return:
|
|
|
|
*@desc: verify Account func call sendActivationCodeByOtpNotificationType service
|
|
|
|
*@desc: verify Account func call sendActivationCodeByOtpNotificationType service
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
verifyAccount(AuthProvider authProv, Function changeLoadingStata) {
|
|
|
|
verifyAccount(AuthProvider authProv, Function changeLoadingStata) async{
|
|
|
|
if (verifyAccountForm.currentState.validate()) {
|
|
|
|
if (verifyAccountForm.currentState.validate()) {
|
|
|
|
changeLoadingStata(true);
|
|
|
|
changeLoadingStata(true);
|
|
|
|
|
|
|
|
|
|
|
@ -266,12 +266,12 @@ class _VerifyAccountState extends State<VerifyAccount> {
|
|
|
|
verifyAccountFormValue['digit3'] +
|
|
|
|
verifyAccountFormValue['digit3'] +
|
|
|
|
verifyAccountFormValue['digit4'];
|
|
|
|
verifyAccountFormValue['digit4'];
|
|
|
|
print(activationCode);
|
|
|
|
print(activationCode);
|
|
|
|
print('${_loggedUser}');
|
|
|
|
int projectID = await sharedPref.getInt(PROJECT_ID);
|
|
|
|
Map model = {
|
|
|
|
Map model = {
|
|
|
|
"activationCode": activationCode,
|
|
|
|
"activationCode": activationCode,
|
|
|
|
"DoctorID": _loggedUser['DoctorID'],
|
|
|
|
"DoctorID": _loggedUser['DoctorID'],
|
|
|
|
"LogInTokenID": _loggedUser['LogInTokenID'],
|
|
|
|
"LogInTokenID": _loggedUser['LogInTokenID'],
|
|
|
|
"ProjectID": 15,
|
|
|
|
"ProjectID": projectID,
|
|
|
|
"LanguageID": 2,
|
|
|
|
"LanguageID": 2,
|
|
|
|
"stamp": "2020-02-26T14:48:27.221Z",
|
|
|
|
"stamp": "2020-02-26T14:48:27.221Z",
|
|
|
|
"IPAdress": "11.11.11.11",
|
|
|
|
"IPAdress": "11.11.11.11",
|
|
|
|