setCountry method
Implementation
void setCountry(Country? selectedCountry) {
cont = selectedCountry;
formKey.currentState?.reset();
setPhoneLength(selectedCountry?.phoneNumberLength ?? 0);
notifyListeners();
}
void setCountry(Country? selectedCountry) {
cont = selectedCountry;
formKey.currentState?.reset();
setPhoneLength(selectedCountry?.phoneNumberLength ?? 0);
notifyListeners();
}