selectCountry method

void selectCountry(
  1. IsoCode? code
)

Sets the country to be the provided code.

Implementation

void selectCountry(IsoCode? code) {
  country.value = code;
  option.value ??= WithdrawalOption.values.firstOrNull;
}