getAvailableCode static method

List<String> getAvailableCode()

Return an array of the ids for all ISO 3166-1 alpha-2 code that this copy of ilib knows about.

Implementation

static List<String> getAvailableCode() {
  const String jscode = 'Country.getAvailableCode().toString()';
  final String result = ILibJS.instance.evaluate(jscode).stringResult;

  return result.split(',');
}