utils/state_utils library

Functions

getAllStates() Future<List<State>>
Get world wide states list.
getStateByCode(String countryCode, String stateCode) Future<State?>
Get a state from its code and its belonging country code
getStatesOfCountry(String countryCode) Future<List<State>>
Get the list of states that belongs to a country by the country ISO CODE