fromJson$Enum$CountryEnum function

Enum$CountryEnum fromJson$Enum$CountryEnum(
  1. String value
)

Implementation

Enum$CountryEnum fromJson$Enum$CountryEnum(String value) {
  switch (value) {
    case r'AFGHANISTAN':
      return Enum$CountryEnum.AFGHANISTAN;
    case r'ALBANIA':
      return Enum$CountryEnum.ALBANIA;
    case r'ALGERIA':
      return Enum$CountryEnum.ALGERIA;
    case r'ANDORRA':
      return Enum$CountryEnum.ANDORRA;
    case r'ANGOLA':
      return Enum$CountryEnum.ANGOLA;
    case r'ANTIGUA_AND_BARBUDA':
      return Enum$CountryEnum.ANTIGUA_AND_BARBUDA;
    case r'ARGENTINA':
      return Enum$CountryEnum.ARGENTINA;
    case r'ARMENIA':
      return Enum$CountryEnum.ARMENIA;
    case r'AUSTRALIA':
      return Enum$CountryEnum.AUSTRALIA;
    case r'AUSTRIA':
      return Enum$CountryEnum.AUSTRIA;
    case r'AZERBAIJAN':
      return Enum$CountryEnum.AZERBAIJAN;
    case r'BAHAMAS':
      return Enum$CountryEnum.BAHAMAS;
    case r'BAHRAIN':
      return Enum$CountryEnum.BAHRAIN;
    case r'BANGLADESH':
      return Enum$CountryEnum.BANGLADESH;
    case r'BARBADOS':
      return Enum$CountryEnum.BARBADOS;
    case r'BELARUS':
      return Enum$CountryEnum.BELARUS;
    case r'BELGIUM':
      return Enum$CountryEnum.BELGIUM;
    case r'BELIZE':
      return Enum$CountryEnum.BELIZE;
    case r'BENIN':
      return Enum$CountryEnum.BENIN;
    case r'BHUTAN':
      return Enum$CountryEnum.BHUTAN;
    case r'BOLIVIA':
      return Enum$CountryEnum.BOLIVIA;
    case r'BOSNIA_AND_HERZEGOVINA':
      return Enum$CountryEnum.BOSNIA_AND_HERZEGOVINA;
    case r'BOTSWANA':
      return Enum$CountryEnum.BOTSWANA;
    case r'BRAZIL':
      return Enum$CountryEnum.BRAZIL;
    case r'BRUNEI':
      return Enum$CountryEnum.BRUNEI;
    case r'BULGARIA':
      return Enum$CountryEnum.BULGARIA;
    case r'BURKINA_FASO':
      return Enum$CountryEnum.BURKINA_FASO;
    case r'BURUNDI':
      return Enum$CountryEnum.BURUNDI;
    case r'IVORY_COAST':
      return Enum$CountryEnum.IVORY_COAST;
    case r'CABO_VERDE':
      return Enum$CountryEnum.CABO_VERDE;
    case r'CAMBODIA':
      return Enum$CountryEnum.CAMBODIA;
    case r'CAMEROON':
      return Enum$CountryEnum.CAMEROON;
    case r'CANADA':
      return Enum$CountryEnum.CANADA;
    case r'CENTRALA_FRICAN_REPUBLIC':
      return Enum$CountryEnum.CENTRALA_FRICAN_REPUBLIC;
    case r'CHAD':
      return Enum$CountryEnum.CHAD;
    case r'CHILE':
      return Enum$CountryEnum.CHILE;
    case r'CHINA':
      return Enum$CountryEnum.CHINA;
    case r'COLOMBIA':
      return Enum$CountryEnum.COLOMBIA;
    case r'COMOROS':
      return Enum$CountryEnum.COMOROS;
    case r'CONGO_BRAZZAVILLE':
      return Enum$CountryEnum.CONGO_BRAZZAVILLE;
    case r'COSTA_RICA':
      return Enum$CountryEnum.COSTA_RICA;
    case r'CROATIA':
      return Enum$CountryEnum.CROATIA;
    case r'CUBA':
      return Enum$CountryEnum.CUBA;
    case r'CYPRUS':
      return Enum$CountryEnum.CYPRUS;
    case r'CZECH_REPUBLIC':
      return Enum$CountryEnum.CZECH_REPUBLIC;
    case r'DEMOCRATIC_REPUBLIC_OF_THE_CONGO':
      return Enum$CountryEnum.DEMOCRATIC_REPUBLIC_OF_THE_CONGO;
    case r'DENMARK':
      return Enum$CountryEnum.DENMARK;
    case r'DJIBOUTI':
      return Enum$CountryEnum.DJIBOUTI;
    case r'DOMINICA':
      return Enum$CountryEnum.DOMINICA;
    case r'DOMINICAN_REPUBLIC':
      return Enum$CountryEnum.DOMINICAN_REPUBLIC;
    case r'ECUADOR':
      return Enum$CountryEnum.ECUADOR;
    case r'EGYPT':
      return Enum$CountryEnum.EGYPT;
    case r'EL_SALVADOR':
      return Enum$CountryEnum.EL_SALVADOR;
    case r'EQUATORIAL_GUINEA':
      return Enum$CountryEnum.EQUATORIAL_GUINEA;
    case r'ERITREA':
      return Enum$CountryEnum.ERITREA;
    case r'ESTONIA':
      return Enum$CountryEnum.ESTONIA;
    case r'ESWATINI':
      return Enum$CountryEnum.ESWATINI;
    case r'ETHIOPIA':
      return Enum$CountryEnum.ETHIOPIA;
    case r'FIJI':
      return Enum$CountryEnum.FIJI;
    case r'FINLAND':
      return Enum$CountryEnum.FINLAND;
    case r'FRANCE':
      return Enum$CountryEnum.FRANCE;
    case r'GABON':
      return Enum$CountryEnum.GABON;
    case r'GAMBIA':
      return Enum$CountryEnum.GAMBIA;
    case r'GEORGIA':
      return Enum$CountryEnum.GEORGIA;
    case r'GERMANY':
      return Enum$CountryEnum.GERMANY;
    case r'GHANA':
      return Enum$CountryEnum.GHANA;
    case r'GREECE':
      return Enum$CountryEnum.GREECE;
    case r'GRENADA':
      return Enum$CountryEnum.GRENADA;
    case r'GUATEMALA':
      return Enum$CountryEnum.GUATEMALA;
    case r'GUINEA':
      return Enum$CountryEnum.GUINEA;
    case r'GUINEA_BISSAU':
      return Enum$CountryEnum.GUINEA_BISSAU;
    case r'GUYANA':
      return Enum$CountryEnum.GUYANA;
    case r'HAITI':
      return Enum$CountryEnum.HAITI;
    case r'HOLY_SEE':
      return Enum$CountryEnum.HOLY_SEE;
    case r'HONDURAS':
      return Enum$CountryEnum.HONDURAS;
    case r'HUNGARY':
      return Enum$CountryEnum.HUNGARY;
    case r'ICELAND':
      return Enum$CountryEnum.ICELAND;
    case r'INDIA':
      return Enum$CountryEnum.INDIA;
    case r'INDONESIA':
      return Enum$CountryEnum.INDONESIA;
    case r'IRAN':
      return Enum$CountryEnum.IRAN;
    case r'IRAQ':
      return Enum$CountryEnum.IRAQ;
    case r'IRELAND':
      return Enum$CountryEnum.IRELAND;
    case r'ISRAEL':
      return Enum$CountryEnum.ISRAEL;
    case r'ITALY':
      return Enum$CountryEnum.ITALY;
    case r'JAMAICA':
      return Enum$CountryEnum.JAMAICA;
    case r'JAPAN':
      return Enum$CountryEnum.JAPAN;
    case r'JORDAN':
      return Enum$CountryEnum.JORDAN;
    case r'KAZAKHSTAN':
      return Enum$CountryEnum.KAZAKHSTAN;
    case r'KENYA':
      return Enum$CountryEnum.KENYA;
    case r'KIRIBATI':
      return Enum$CountryEnum.KIRIBATI;
    case r'KUWAIT':
      return Enum$CountryEnum.KUWAIT;
    case r'KYRGYZSTAN':
      return Enum$CountryEnum.KYRGYZSTAN;
    case r'LAOS':
      return Enum$CountryEnum.LAOS;
    case r'LATVIA':
      return Enum$CountryEnum.LATVIA;
    case r'LEBANON':
      return Enum$CountryEnum.LEBANON;
    case r'LESOTHO':
      return Enum$CountryEnum.LESOTHO;
    case r'LIBERIA':
      return Enum$CountryEnum.LIBERIA;
    case r'LIBYA':
      return Enum$CountryEnum.LIBYA;
    case r'LIECHTENSTEIN':
      return Enum$CountryEnum.LIECHTENSTEIN;
    case r'LITHUANIA':
      return Enum$CountryEnum.LITHUANIA;
    case r'LUXEMBOURG':
      return Enum$CountryEnum.LUXEMBOURG;
    case r'MADAGASCAR':
      return Enum$CountryEnum.MADAGASCAR;
    case r'MALAWI':
      return Enum$CountryEnum.MALAWI;
    case r'MALAYSIA':
      return Enum$CountryEnum.MALAYSIA;
    case r'MALDIVES':
      return Enum$CountryEnum.MALDIVES;
    case r'MALI':
      return Enum$CountryEnum.MALI;
    case r'MALTA':
      return Enum$CountryEnum.MALTA;
    case r'MARSHALL_ISLANDS':
      return Enum$CountryEnum.MARSHALL_ISLANDS;
    case r'MAURITANIA':
      return Enum$CountryEnum.MAURITANIA;
    case r'MAURITIUS':
      return Enum$CountryEnum.MAURITIUS;
    case r'MEXICO':
      return Enum$CountryEnum.MEXICO;
    case r'MICRONESIA':
      return Enum$CountryEnum.MICRONESIA;
    case r'MOLDOVA':
      return Enum$CountryEnum.MOLDOVA;
    case r'MONACO':
      return Enum$CountryEnum.MONACO;
    case r'MONGOLIA':
      return Enum$CountryEnum.MONGOLIA;
    case r'MONTENEGRO':
      return Enum$CountryEnum.MONTENEGRO;
    case r'MOROCCO':
      return Enum$CountryEnum.MOROCCO;
    case r'MOZAMBIQUE':
      return Enum$CountryEnum.MOZAMBIQUE;
    case r'MYANMAR':
      return Enum$CountryEnum.MYANMAR;
    case r'NAMIBIA':
      return Enum$CountryEnum.NAMIBIA;
    case r'NAURU':
      return Enum$CountryEnum.NAURU;
    case r'NEPAL':
      return Enum$CountryEnum.NEPAL;
    case r'NETHERLANDS':
      return Enum$CountryEnum.NETHERLANDS;
    case r'NEW_ZEALAND':
      return Enum$CountryEnum.NEW_ZEALAND;
    case r'NICARAGUA':
      return Enum$CountryEnum.NICARAGUA;
    case r'NIGER':
      return Enum$CountryEnum.NIGER;
    case r'NIGERIA':
      return Enum$CountryEnum.NIGERIA;
    case r'NORTH_KOREA':
      return Enum$CountryEnum.NORTH_KOREA;
    case r'NORTH_MACEDONIA':
      return Enum$CountryEnum.NORTH_MACEDONIA;
    case r'NORWAY':
      return Enum$CountryEnum.NORWAY;
    case r'OMAN':
      return Enum$CountryEnum.OMAN;
    case r'PAKISTAN':
      return Enum$CountryEnum.PAKISTAN;
    case r'PALAU':
      return Enum$CountryEnum.PALAU;
    case r'PALESTINE_STATE':
      return Enum$CountryEnum.PALESTINE_STATE;
    case r'PANAMA':
      return Enum$CountryEnum.PANAMA;
    case r'PAPUA_NEW_GUINEA':
      return Enum$CountryEnum.PAPUA_NEW_GUINEA;
    case r'PARAGUAY':
      return Enum$CountryEnum.PARAGUAY;
    case r'PERU':
      return Enum$CountryEnum.PERU;
    case r'PHILIPPINES':
      return Enum$CountryEnum.PHILIPPINES;
    case r'POLAND':
      return Enum$CountryEnum.POLAND;
    case r'PORTUGAL':
      return Enum$CountryEnum.PORTUGAL;
    case r'QATAR':
      return Enum$CountryEnum.QATAR;
    case r'ROMANIA':
      return Enum$CountryEnum.ROMANIA;
    case r'RUSSIA':
      return Enum$CountryEnum.RUSSIA;
    case r'RWANDA':
      return Enum$CountryEnum.RWANDA;
    case r'SAINT_KITTS_AND_NEVIS':
      return Enum$CountryEnum.SAINT_KITTS_AND_NEVIS;
    case r'SAINT_LUCIA':
      return Enum$CountryEnum.SAINT_LUCIA;
    case r'SAINT_VINCENT_AND_THE_GRENADINES':
      return Enum$CountryEnum.SAINT_VINCENT_AND_THE_GRENADINES;
    case r'SAMOA':
      return Enum$CountryEnum.SAMOA;
    case r'SAN_MARINO':
      return Enum$CountryEnum.SAN_MARINO;
    case r'SAO_TOME_AND_PRINCIPE':
      return Enum$CountryEnum.SAO_TOME_AND_PRINCIPE;
    case r'SAUDI_ARABIA':
      return Enum$CountryEnum.SAUDI_ARABIA;
    case r'SENEGAL':
      return Enum$CountryEnum.SENEGAL;
    case r'SERBIA':
      return Enum$CountryEnum.SERBIA;
    case r'SEYCHELLES':
      return Enum$CountryEnum.SEYCHELLES;
    case r'SIERRA_LEONE':
      return Enum$CountryEnum.SIERRA_LEONE;
    case r'SINGAPORE':
      return Enum$CountryEnum.SINGAPORE;
    case r'SLOVAKIA':
      return Enum$CountryEnum.SLOVAKIA;
    case r'SLOVENIA':
      return Enum$CountryEnum.SLOVENIA;
    case r'SOLOMON_ISLANDS':
      return Enum$CountryEnum.SOLOMON_ISLANDS;
    case r'SOMALIA':
      return Enum$CountryEnum.SOMALIA;
    case r'SOUTH_AFRICA':
      return Enum$CountryEnum.SOUTH_AFRICA;
    case r'SOUTH_KOREA':
      return Enum$CountryEnum.SOUTH_KOREA;
    case r'SOUTH_SUDAN':
      return Enum$CountryEnum.SOUTH_SUDAN;
    case r'SPAIN':
      return Enum$CountryEnum.SPAIN;
    case r'SRI_LANKA':
      return Enum$CountryEnum.SRI_LANKA;
    case r'SUDAN':
      return Enum$CountryEnum.SUDAN;
    case r'SURINAME':
      return Enum$CountryEnum.SURINAME;
    case r'SWEDEN':
      return Enum$CountryEnum.SWEDEN;
    case r'SWITZERLAND':
      return Enum$CountryEnum.SWITZERLAND;
    case r'SYRIA':
      return Enum$CountryEnum.SYRIA;
    case r'TAJIKISTAN':
      return Enum$CountryEnum.TAJIKISTAN;
    case r'TANZANIA':
      return Enum$CountryEnum.TANZANIA;
    case r'THAILAND':
      return Enum$CountryEnum.THAILAND;
    case r'TIMOR_LESTE':
      return Enum$CountryEnum.TIMOR_LESTE;
    case r'TOGO':
      return Enum$CountryEnum.TOGO;
    case r'TONGA':
      return Enum$CountryEnum.TONGA;
    case r'TRINIDAD_AND_TOBAGO':
      return Enum$CountryEnum.TRINIDAD_AND_TOBAGO;
    case r'TUNISIA':
      return Enum$CountryEnum.TUNISIA;
    case r'TURKEY':
      return Enum$CountryEnum.TURKEY;
    case r'TURKMENISTAN':
      return Enum$CountryEnum.TURKMENISTAN;
    case r'TUVALU':
      return Enum$CountryEnum.TUVALU;
    case r'UGANDA':
      return Enum$CountryEnum.UGANDA;
    case r'UKRAINE':
      return Enum$CountryEnum.UKRAINE;
    case r'UNITED_ARAB_EMIRATES':
      return Enum$CountryEnum.UNITED_ARAB_EMIRATES;
    case r'UNITED_KINGDOM':
      return Enum$CountryEnum.UNITED_KINGDOM;
    case r'UNITED_STATES_OF_AMERICA':
      return Enum$CountryEnum.UNITED_STATES_OF_AMERICA;
    case r'URUGUAY':
      return Enum$CountryEnum.URUGUAY;
    case r'UZBEKISTAN':
      return Enum$CountryEnum.UZBEKISTAN;
    case r'VANUATU':
      return Enum$CountryEnum.VANUATU;
    case r'VENEZUELA':
      return Enum$CountryEnum.VENEZUELA;
    case r'VIETNAM':
      return Enum$CountryEnum.VIETNAM;
    case r'YEMEN':
      return Enum$CountryEnum.YEMEN;
    case r'ZAMBIA':
      return Enum$CountryEnum.ZAMBIA;
    case r'ZIMBABWE':
      return Enum$CountryEnum.ZIMBABWE;
    case r'NOT_SPECIFIED':
      return Enum$CountryEnum.NOT_SPECIFIED;
    default:
      return Enum$CountryEnum.$unknown;
  }
}