io api settings api

This commit is contained in:
jayesh
2024-07-25 19:19:25 +05:30
parent bc15d0b1b3
commit 9b44dc0cf3
67 changed files with 2871 additions and 394 deletions

View File

@@ -39,7 +39,7 @@ class RestorePasswordPhoneVerificationForm extends StatelessWidget {
selectedCountry = state.selectedIndex;
if (countryState is CountryLoaded) {
restorePasswordBloc.isdcode =
"${countryState.countryModel.data![selectedCountry].isdCode}";
"${countryState.countryModel.data![selectedCountry].iSDcode}";
restorePasswordBloc.countrySelectionTextField.text = countryState
.countryModel.data![selectedCountry].countryName
.toString();
@@ -53,7 +53,7 @@ class RestorePasswordPhoneVerificationForm extends StatelessWidget {
restorePasswordBloc.isdcode, expectedLength!);
}
restorePasswordBloc.countryId =
countryState.countryModel.data![selectedCountry].id!;
countryState.countryModel.data![selectedCountry].id!.toString();
flag =
"${ApiEndpoints.base}${countryState.countryModel.data![selectedCountry].flagIcon}";
}