statesList static method

Map<String, String> statesList(
  1. String country_code
)

Get states list by country ISO code

@param country_code @return

Implementation

static Map<String, String> statesList(String country_code) {
	_checkRepository();

    if (!_statesRepository.containsKey(country_code)) {
      return {};
    }

	return _statesRepository[country_code];
}