getCountryCode static method

String getCountryCode(
  1. Country name
)

Implementation

static String getCountryCode(Country name) {
  switch (name) {
    case Country.lao:
      return "LA";
    case Country.thai:
      return "TH";
  }
  return "LA";
}