setCountryCode method

void setCountryCode(
  1. String? countryCode
)

Sets the country code. Used to change currency units. eg: "US", "NP", "IN" etc. Must be an ISO 3166-1 alpha-2 code (2 characters).

Implementation

void setCountryCode(String? countryCode) {
  _countryCode = _normalizeCountryCode(countryCode);
}