setCountryAndPhoneNumber method
Sets the country and phone number programmatically.
Implementation
void setCountryAndPhoneNumber(Country country, String phoneNumber) {
setState(() {
_selectedCountry = country;
_phoneNumberController.text = phoneNumber;
});
}