areaCode function

String areaCode()

Return the country code of the current locale, or an empty string if it's not available.

Returns: The country code of the country that the user is in.

Implementation

String areaCode() {
  return country().code ?? '';
}